Linux passwd

Linux passwd command

Linux change root password example

Basic Linux Command Example: 

 

Linux Change root Password.

 

   The step by step article on Linux change root password below show the step that you need to take to change root password.  Please note that only root user can change root password, so you need to login as root or use su command and then change root password.  If you lost your root password this article on how to reset root password may help you to reset root user password. 

 

Linux change root password example:

 

1. Open the shell terminal, type in su - command then hit 'Enter' key to be as root user on your Linux system.

su root password


passwd

 

View Linux passwd command Manual.

 

   The example below show how to use man command to view Linux passwd command manual on Linux Fedora operating system.  To display Linux passwd command manual just type in man command and the command name that you want to display the manual page... in this example we want to view Linux passwd command manual... so after the man command we type in passwd (the Linux command name that we want to view the manual).

 

Linux passwd command manual example:

 

Open the shell terminal, type in man passwd as example below.

View Linux passwd command Manual

[root@fedora11 ~]# man passwd


Linux Create User

 

Linux Create User Account Step by Step Example.

 

   The Linux create user account step by step example below use useradd command to demonstrate how to create user account on Linux operating system.  The useradd command only can be execute by root user and user that have sufficient privilege to create user on Linux system.  The step by step below begin with the su command to make sure that we have the privileges to create user on the Linux system.

 


BAD PASSWORD: it is based on a dictionary word

Basic Linux Command Example: 

 

BAD PASSWORD: it is based on a dictionary word.

 

   The example below show that the BAD PASSWORD: it is based on a dictionary word message appear when we try to change current Linux password on Linux Fedora system.  The message appear when we try to use the dictionary base word as password.

 

BAD PASSWORD based on dictionary word

 

When we try to change password current password to fedora we get BAD PASSWORD: it is based on a dictionary word message, and we decide to change the password to something little harder (strong password) to 'f3d0r4' but the system still give us the BAD PASSWORD: it is based on a dictionary word message..

 

use 'fedora' and 'f3d0r4' as example...


BAD PASSWORD: it is too simplistic/systematic

Basic Linux Command Example: 

 

BAD PASSWORD: it is too simplistic/systematic.

 

   Have you ever get BAD PASSWORD: it is too simplistic/systematic message when you try to change password on your Linux system using passwd command.  The command example below show the example of BAD PASSWORD: it is too simplistic/systematic message and the step need to be taken to make sure that the message did not appear again.  

 

BAD PASSWORD

 

Issue the passwd command to change your current password, key in your current password... then to change to new password, just key in '123456' as our new password...

you may get error that look like on the command example below... this is because the password that we key in... even thou its 6 character long... but it still too simple to guess and systematic because it just an keyboard sequence...


Linux Change Password

Basic Linux Command Example: 

 

Linux Change Password.

 

   The Linux change password command example below show how to change password for user, change root password the password for root user and change password for other user in the system.  In order to change password on Linux system, the Linux change password example below use the passwd command.

 

Change Password

 

If you log on into Linux system, and you want to change password ( your own user password)... just issue password command as show on example below.

Linux Change Password

[linux@fedora11 ~]$ passwd


Subscribe to RSS - Linux passwd