7 FAQ tagged "passwd_command"
Viewing 1-7 of 7 FAQ -- Linux Change Default User Home Directory While Adding A New User :
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?
- Linux: Resetting a user’s password :
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 [...] - Linux create user account :
Q. How do I create create a new Linux user account ? How do update or modify default Linux new user information?
A. To create a new user account under any Linux distribution use command called useradd. The system administrator is responsible for creating account. Login as root user (or use sudo command).
useradd command syntax
useradd [...] - Linux deny or block user login :
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 [...] - Freebsd changing password :
Q. How do I change a password under FreeBSD or Linux (UNIX) operating systems?
A. The FreeBSD passwd utility changes the user’s local, Kerberos, or NIS password. If the user is not the super-user, passwd first prompts for the current password and will not continue unless the correct password is entered.
Choosing a good password
It is [...] - Linux reset forgotten root password :
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 [...] - Linux: Delete user 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 [...]
Viewing 1-7 of 7 FAQ - ( see all popular tags )


Recent Comments
Today ~ 3 Comments
Today ~ 57 Comments
Yesterday ~ 9 Comments
Yesterday ~ 7 Comments
Yesterday ~ 1 Comment