In order to make sure a user
changes his password when the first time he logs in , follow the steps
useradd tom ( add a user )
passwd tom ( provide a
password for user )
usermod –L tom ( lock the tom
account )
chage –d 0 tom ( force
expiration of the tom account )
usermod –U tom (unlock the
account )
Happy Learning