How to prevent an account from login to Linux

By default in a Linux operating system, an account without a password

cannot be used to log in at all.



Disable user account i88ca



passwd -d i88ca



To undo this action or to reset the password use this command:



passwd i88ca

Comments

Popular posts from this blog

Check MySQL query history from command line