Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Setting user-specific expiration period for users

0 views
Skip to first unread message

qazml...@rediffmail.com

unread,
May 15, 2008, 6:40:53 AM5/15/08
to
I understand that it is possible to set the expiration period for the
password for the OS users, by setting the MAXWEEKS value in the /etc/
default/passwd file.
But, as this is a systemwide setting, it affects all the users. Is it
possible to set the expiration period user specifically, for example:
3 months for user1, 1 month for user2 and no expiration for user3?

Oscar del Rio

unread,
May 15, 2008, 8:24:45 AM5/15/08
to

man passwd

passwd -n min -w warn -x max user

man shadow for explanation of values

0 new messages