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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MINWEEKS /MAXWEEKS 1

Status
Not open for further replies.

bcme10

MIS
Jun 21, 2002
44
US
Does anyone know where the MINWEEKS and MAXWEEKS is set if I set it for one particular user? I know I can set it for all in the /etc/default/passwd but I have some application logins that can't have passwords that expire.

Just curious.

Thanks.
 
These settings are only defaults for newly created accounts. This doesn't affect existing accounts. The settings for an individual user are in their entry in [tt]/etc/shadow[/tt].

To explicitly turn password aging off for a specific user, use the following...
Code:
    passwd -x -1 someuser
Hope this helps.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top