The easiest way to lock a user account on Linux machines is to use -l option to passwd command.
Open a terminal and acquire root
# passwd -l abc ( abc is the user you want to lock.)
You can unlock the account with -u option
#passwd -u abc
:)
No comments:
Post a Comment