Estos contenidos se han traducido de forma automática para su comodidad, pero Huawei Cloud no garantiza la exactitud de estos. Para consultar los contenidos originales, acceda a la versión en inglés.
Centro de ayuda/ Elastic Cloud Server/ Preguntas frecuentes/ Passwords and Key Pairs/ Passwords/ How Can I Change the Password for Logging In to a Linux ECS?
Actualización más reciente 2023-08-08 GMT+08:00
How Can I Change the Password for Logging In to a Linux ECS?
Solution
- Use the existing key file to log in to the Linux ECS as user root.
- Run the following command to reset the password of user root:
passwd
To reset the password of another user, replace passwd with passwd username.
- Enter the new password as prompted.
New password: Retype new password:
If the following information is displayed, the password has been reset:passwd: password updated successfully
Tema principal: Passwords
¿Cuál es su calificación general para esta página?
0
1
2
3
4
5
6
7
8
9
10
Muy poco satisfactoriaMuy satisfactoria
Muchas gracias por sus comentarios. Seguiremos trabajando para mejorar la documentación.
El sistema está ocupado. Vuelva a intentarlo más tarde.