When someone asks in an exam or interview
How create a user account in Cent OS 7 - with password temporary
but WHEN TRY LOGIN THE FIRST TIME ... THE USER FORCED TO CHANGE THE PASSWORD ????
is this happen when user account expiry [so i have to set the expiry account Date?] ??? or ...
How create a user account in Cent OS 7 - THE USER FORCED TO CHANGE THE PASSWORD first login
Re: How create a user account in Cent OS 7 - THE USER FORCED TO CHANGE THE PASSWORD first login
I found it by searching
passwd -e username # immediately expires password and ask for new password next login
passwd -e username # immediately expires password and ask for new password next login
Re: How create a user account in Cent OS 7 - THE USER FORCED TO CHANGE THE PASSWORD first login
Alternatively you can do a "chage -d 0 username"
Bruce Hoffmann
Unix System Administrator
Sprint
Unix System Administrator
Sprint