Re: sol 10 passwd expiration
- From: "Kalyan Manchikanti" <kalyan.manchikanti@xxxxxxxxx>
- Date: 14 Mar 2007 14:41:56 -0700
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.
.
- References:
- sol 10 passwd expiration
- From: reggiet08
- sol 10 passwd expiration
- Prev by Date: sol 10 passwd expiration
- Next by Date: Re: NFS mount problem
- Previous by thread: sol 10 passwd expiration
- Index(es):
Relevant Pages
|