Am Dienstag 13 Oktober 2009 17:31:01 schrieb CHAPLIN, JAMES (CTR): > When setting up a new user, I want to be able to expire the user's > temporary password, allowing the user to login with the temporary > password, but force him/her to create his own password on the first > login. > > I know how to set the INACTIVE value in the /etc/shadow file, but is > there a command to modify the account without manually modifying the > /etc/shadow create date (to expire) to do this?
I think the expire feature of passwd might be your friend: # passwd -e <userid> ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
