passwd command

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 }

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


How 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?