By default user is added to /home directory. I’d like to add user to /iscsi/home/${user} directory instead of default /home. How do I force useradd to add user to /iscsi/home under CentOS / RHEL / Fedora Linux?
{ 6 comments }
FAQ tagged as:
Q. How do I reset a user’s password under any Linux distribution from command prompt?
A. To reset a user’s password, use passwd command. You have to change it to a different password.
Login as the root user
Open terminal or shell prompt
Type the following command:
# passwd username
For example, reset a tom’s password, enter:
# passwd tom
Type a [...]
{ 4 comments }
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?
{ 24 comments }
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. The [...]
{ 0 comments }
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 if you are [...]
{ 16 comments }