Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

password expired

Status
Not open for further replies.

vti

Technical User
Feb 26, 2001
189
TR

Hi
Is there a way to put password expiration date to my all users ?

Regards.
 
Don't know off hand ... but if you do a man passwd that should tell you how.

Greg.
 
Ý have tried before but there wasn't any information.

Thanks
 
OK, on Solaris, man passwd tells you all you need to know. I guess it depends on your OS?

On Solaris, the file /etc/default/passwd can contain the following entries;
MAXWEEKS Maximum time period that password is valid.
MINWEEKS Minimum time period before the password can be changed.
PASSLENGTH Minimum length of password, in characters.
WARNWEEKS Time period until warning of date of password's ensuing expiration.

For example, my /etc/default/passwd looks like this ...
Code:
MAXWEEKS=
MINWEEKS=
PASSLENGTH=6
... meaning my passwords never expire, but they must be at least 6 characters long.

Try this first.

Greg.
 
I use Tru64 and there is no default folder under my etc folder.
 
Hi
In tru64 the default login paramaeter are in
/etc/auth/system/default

hope this solve you problem

Roy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top