FAQ tagged as:

passwd command

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 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 [...]

{ 1 comment }

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 }

nixCraft FAQ PDF Collection Now Available To All