how to disable a user accounts from login in fedora14 linux ubuntu

10:51 AM
Disabling Accounts


You need to disable an account and temporarily prevent the user from logging in, but you don't want to delete the account.


To temporarily deactivate an account, disable the user's password with the -l (lock) flag:


# passwd -l aborg


Password changed.






To re-enable, or unlock, a user's password use:


# passwd -u aborg


Password changed.

0 Comments