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.

Pre-sales consultation
JTTI-Ellis
JTTI-Defl
JTTI-Eom
JTTI-Selina
JTTI-COCO
Technical Support
JTTI-NOC
Title
Email Address
Type
Sales Issues
Sales Issues
System Problems
After-sales problems
Complaints and Suggestions
Marketing Cooperation
Information
Code
Submit