This is a discussion on sol 10 passwd expiration within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> I am running Solaris 10 Generic_118833-24 and the password expiratio interval is set to 12 weeks (84 days). My ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I am running Solaris 10 Generic_118833-24 and the password expiratio interval is set to 12 weeks (84 days). My question pertains to th field in the /etc/shadow file that stores the date on which a passwor expires, expressed as a number of days since January 1, 1970. When user sets their password this value is updated. However, that valu also updated when a user's account is locked ( i.e. from three faile logins) and when the account is unlocked either using "passwd -l" o SMC. Therefore, the user will have another 84 days before thei password expires everytime their account is locked or unlocked. question -- Is there anyway to keep the passwd expiration date the sam after unlocking a user account? Thank -- reggiet0 ----------------------------------------------------------------------- reggiet08's Profile: http://unixadmintalk.com/139 View this thread: http://unixadmintalk.com/showthread.php?t=26738 |
| |||
| On Mar 14, 2:00 pm, reggiet08 <reggiet08.2ng...@no- mx.unixadmintalk.com> wrote: > I am running Solaris 10 Generic_118833-24 and the password expiration > interval is set to 12 weeks (84 days). My question pertains to the > field in the /etc/shadow file that stores the date on which a password > expires, expressed as a number of days since January 1, 1970. When a > user sets their password this value is updated. However, that value > also updated when a user's account is locked ( i.e. from three failed > logins) and when the account is unlocked either using "passwd -l" or > SMC. Therefore, the user will have another 84 days before their > password expires everytime their account is locked or unlocked. > question -- Is there anyway to keep the passwd expiration date the same > after unlocking a user account? > > Thanks > > -- > reggiet08 > ------------------------------------------------------------------------ > reggiet08's Profile:http://unixadmintalk.com/1398 > View this thread:http://unixadmintalk.com/showthread.php?t=267380 Not exactly sure why you would want to do that, but the simplest way is to copy back the old epoch value for the user in /etc/shadow after the password is unlocked. |
| ||||
| On Wed, 14 Mar 2007 12:00:02 -0700, reggiet08 <reggiet08.2ng8qf@no-mx.unixadmintalk.com> wrote: > >I am running Solaris 10 Generic_118833-24 and the password expiration >interval is set to 12 weeks (84 days). My question pertains to the >field in the /etc/shadow file that stores the date on which a password >expires, expressed as a number of days since January 1, 1970. When a >user sets their password this value is updated. However, that value >also updated when a user's account is locked ( i.e. from three failed >logins) and when the account is unlocked either using "passwd -l" or >SMC. Therefore, the user will have another 84 days before their >password expires everytime their account is locked or unlocked. >question -- Is there anyway to keep the passwd expiration date the same >after unlocking a user account? Did you mean, "question -- Is there, anyway, to keep the passwd expiration date the same after unlocking a user account?" or "question -- Is there any way to keep the passwd expiration date the same after unlocking a user account? > > > >Thanks > > >-- >reggiet08 >------------------------------------------------------------------------ >reggiet08's Profile: http://unixadmintalk.com/1398 >View this thread: http://unixadmintalk.com/showthread.php?t=267380 Barry ===== Home page http://members.iinet.net.au/~barry.og I do not represent atheists or atheism |