Use the native passwd tool... according to the man page: -x This will set the maximum password lifetime, in days, if the user’s account supports password lifetimes. Available to root only. for u in `cut -d: -f1 /etc/passwd`; do passwd -x 90 $u done -----Original Message----- From: redhat-list-bounces@xxxxxxxxxx on behalf of Bill Tangren Sent: Wed 02/22/2006 04:20 PM To: General Red Hat Linux discussion list Cc: Subject: recommendations for password management tool I'm looking for a user password management tool that will allow me to alter sp_max in /etc/shadow, the number of days before a change is required in the password. I have the set to 180, and I want to set it to 90 for all my users. I've googled but came up empty. Webmin (which uses usermin) doesn't do this, as far as I can tell. Thanks! Bill Tangren -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list