Re: sol 10 passwd expiration



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.

.



Relevant Pages

  • sol 10 passwd expiration
    ... I am running Solaris 10 Generic_118833-24 and the password expiration ... My question pertains to the ... also updated when a user's account is locked (i.e. from three failed ... after unlocking a user account? ...
    (comp.sys.sun.admin)
  • Re: New columns in V$yablespace
    ... For the first question, please refer to the online documentation at ... unlocking an account is a permanent operation. ... It won't be locked again when you restart the database. ...
    (comp.databases.oracle.misc)
  • Re: Accounts lockout policy not working as expected
    ... gets a successful logon after the 15 minutes have passed. ... period has passed AD will treat the account as unlocked. ... to logon successfully without an administrator unlocking the account? ... >> Account Lockout Threshold: 5 bad logon attempts ...
    (microsoft.public.windows.group_policy)
  • Re: Taskpad Delegation
    ... I want branch office managers to be able to reset and unlock their employees ... Except for the odd user who gives ... protected groups (Account Operators), but I still cant perform the Reset ... unlocking and account disabling. ...
    (microsoft.public.windows.server.active_directory)