How to change passwords for users on Linux server?

As a Linux system administrator (administrator or root) you can change the password for any users on your server. To change a password on behalf of a user please follow these steps

> First, sign on or “su” or “sudo” to the “root” account on Linux, run:  sudo -i  and enter the password.

> Then please type passwd username to change a password for a specific user. For example, run  passwd root   or  passwd administrator to change the password of user "root" or "administrator". Or type passwd to change the password of the current user. The system will prompt you to enter a password twice.

> Log into your server again using the new password for verification.

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to access Linux Server via Mac?

After the order is placed and paid, a VPS login information will be sent to your registered email...

How to SSH to Linux Server?

SSH is a cryptographic network protocol for operating network services securely over an unsecured...

How to install Desktop Environment and XRDP service in Debian 9?

The following tutorial will show you the simplest way to install a desktop environment on Debian...

How to Install Ubuntu Desktop and VNC Server on Ubuntu Server14.04?

You may install the default Ubuntu Desktop on Ubuntu Server 14.04 with the following procedure....

How to Install XRDP and Audio Redirection on Ubuntu Server 18?

This is a guide on how to install XRDP with Audio Redirection on Ubuntu Server 18. Log into...

Powered by WHMCompleteSolution