Unix Technical Forum

sol 10 passwd expiration

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 11:20 AM
reggiet08
 
Posts: n/a
Default sol 10 passwd expiration


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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 11:20 AM
Kalyan Manchikanti
 
Posts: n/a
Default 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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 11:20 AM
Barry OGrady
 
Posts: n/a
Default Re: sol 10 passwd expiration

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:43 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com