Q. How do I create create a new Linux user account ? How do update or modify default Linux new user information? Using the command prompt (shell) tools, how do I add a user to the system? What are command line options for adding a user?
Q. How do I deny or block user login for user id tom? I’m using CentOS 5 Linux server OS. A.. You need to use passwd command. Deny user login by locking out account Pass -l option to passwd command. It is used to lock the specified account and it is available to root only. […]
How do I set or change Linux system password for any user account?
Q. I forgot my root password, how can I get into my system? A. You can reset forgotten root password under Linux by booting system into single user mode or emergency mode (also known as rescue mode). My boot loader is GRUB (see LILO boot loader below) )Following is the procedure to reset root password […]
Q. How do I delete user Password under Linux? I’d like to disable a password for an account. A. All user encrypted passwords are stored in /etc/shadow file. The quick way to remove/delete a user password is pass –delete option to passwd command. First, login in as a root user. Command to delete user password […]
ow do I lock an account (user login id) under Linux operating system? How can I disable a user’s login without disabling the account on a Linux based server?