passwd command

Linux: Resetting a user’s password

by Vivek Gite on November 26, 2007 · 7 comments

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

{ 7 comments }

Freebsd changing password

by Vivek Gite on August 6, 2007 · 1 comment

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

{ 1 comment }

Linux Set or Change User Password

by Vivek Gite on September 21, 2006 · 35 comments

How do I set or change Linux system password for any user account?

{ 35 comments }

Linux reset forgotten root password

by nixcraft on May 13, 2006 · 35 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 [...]

{ 35 comments }

Linux: Delete user password

by Vivek Gite on February 16, 2006 · 11 comments

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

{ 11 comments }