Support > About the account > How to Change User Password in Linux Server
How to Change User Password in Linux Server
Time : 2022-08-24 16:32:25
Edit : Jtti

  As a Linux system administrator (admin or root), you can change the password of any user on the server.

  The operation steps are divided into three steps:

  1. Log in to Linux:

  Log in or "su" or "sudo" to the "root" account on Linux, run: and enter your password. sudo -i.

https://www.jtti.cc/uploads/UEditorImages/202208/29/f83adbaa130798cb5d63eb1b831841de.jpg

  2. Run the command:

  and then type to change the password for a specific user. For example, run or change the password of user "root" or "administrator". Or type to change the current user's password. You will be prompted to enter your password twice. passwdusernamepasswdrootpasswdadministratorpasswd.

  3. Use the new password to log in:

  Use the new password to log in to the server again to verify.

Relevant contents

Jtti Notice on Lunar New Year Holiday Jtti Notice on New Year’s Holiday Jtti Notice about Christmas Holiday Important notice about Jtti Hight bandwidth server core hardware maintenance Important notice about Jtti system upgrade Jtti Notice on May Day Holiday Notice on the price increase of Hong Kong high-bandwidth servers Solemn statement about plagiarism/imitation of Jtti communication number/official website Cloud server self-service reset password service agreement
Go back

24/7/365 support.We work when you work

Support