How do I change the account password in RedHat® Linux®?
摘要: The following article provides information about changing the account password in RedHat.
本文适用于
本文不适用于
本文并非针对某种特定的产品。
本文并非包含所有产品版本。
症状
Change the Root Account Password for Linux®.
NOTE:
Nothing will be displayed when you type the password. If the password is invalid, a warning message with an explanation will be displayed. The root account, however, does not have to comply with password requirements.
Nothing will be displayed when you type the password. If the password is invalid, a warning message with an explanation will be displayed. The root account, however, does not have to comply with password requirements.
- Log in using the root account password.
- From the command line, type passwd and then press the <Enter> key.
- At the New password: prompt, type the new password and then press the <Enter> key.
- At the Retype new password: prompt, retype the password and then press the <Enter> key.
The password change is complete when the passwd: all authentication tokens updated successfully message appears
Change a User Account Password Using the Root Account in Linux®.
- Log in using the root account password.
- From the command line, type passwd <User_Name>, where <User_Name> is the name of the user account, and then press the <Enter> key.
- At the New password: prompt, type the new password and then press the <Enter> key.
NOTE:
Nothing will be displayed when you type the password. If the password is invalid, a warning message with an explanation will be displayed. The root account, however, does not have to comply with password requirements.
Nothing will be displayed when you type the password. If the password is invalid, a warning message with an explanation will be displayed. The root account, however, does not have to comply with password requirements.
- At the Retype new password: prompt, retype the password and then press the <Enter> key.
The password change is complete when the passwd: all authentication tokens updated successfully message appears.
Change Your User Account Password in Linux®.
- Log in using your user account password.
- From the command line, type passwd and then press the <Enter> key.
- Type your current password and then press the <Enter > key.
- At the New password: prompt, type the new password and then press the <Enter> key.
NOTE:
Nothing will be displayed when you type the password. If the password is invalid, a warning message with an explanation will be displayed.
Nothing will be displayed when you type the password. If the password is invalid, a warning message with an explanation will be displayed.
-
At the Retype new password: prompt, retype the password and then press the <Enter> key.
The password change is complete when the passwd: all authentication tokens updated successfully message appears.
原因
Not Applicable.
解决方案
Not Applicable.
文章属性
文章编号: 000145668
文章类型: Solution
上次修改时间: 06 8月 2021
版本: 4
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。