Force user to change a password at first login under Linux
For the security point of view it is necessary to allow change the password to the user when he/she logs in first time in the server. also force the user to keep the strong password & change that periodically.
Forcing user to change the password whenever he log's first time:-
[root@localhost ~]# chage -d 0 Tushar
or
you can also use usermod command to do so
[root@localhost ~]#
Forcing user to change the password whenever he log's first time:-
[root@localhost ~]# chage -d 0 Tushar
or
you can also use usermod command to do so
[root@localhost ~]#
usermod -p “”Tushar
No comments:
Post a Comment