Modifying the password

  

in Linux To better protect the security of user accounts, Linux allows users to modify their passwords at any time after logging in using the passwd command. To change the password, you need to go through: 1) Enter the original password. If the password is incorrectly entered, the program will be aborted and the password cannot be modified. 2) Enter the new password; 3) Prompt to repeat the new password. If the two passwords match, Then the password is modified successfully. It should be noted that in order to better protect passwords, Red Hat Linux 7.1 will refuse to modify if the new password you entered is too simple. Here's an example of changing the password: (where the boldface is the input) $ passwd Changing passoffice_soft/" target="_blank" class="relatedlink">word for user1 (current) UNIX password: ? Password New UNIX password: ? Enter a new password Retype new UNIX password: ? Enter the new password again Passwd:all authentication tokens updated successfully ? Note that the password entered here will also not be displayed. And if the root user changes the password, you do not need to enter the old password! That is, it can modify the password of any user.

Copyright © Windows knowledge All Rights Reserved