How to change the root Password using SSH

Changing your Root Password Using SSH


This article will show you how to change the root password for your Root Server using SSH



For security reasons we recommend you change the master password during your first SSH session.

To change your password, enter the command

passwd

root in the prompt which displays, for example root@yourserver. In the three prompt lines which follow, insert the information Linux® asks for, i. e.:

*
Enter existing login password:

Asks you to enter your current root password;
*
New password:

Asks you to enter your new password, and
*
Re-enter new password:

Asks you to re-enter your new password.



Once you have done this, you will have changed your master password for your server successfully. Please make a note of the changed access data and make sure to keep it safe from unauthorized access.

Please Note:
Make sure you remember the new password you have chosen. In the event of losing your password, accessing your server — even by our technicians — will be absolutely impossible.

Was this answer helpful?

 Print this Article

Also Read

Yum issues with low memory plans (Resolution)

If you are getting yum errors on our 128 or 192 yearly plans with the CentOS/Fedora distro then...

CentOS / Redhat: Install KVM Virtualization Software

Required Packages You must install the following packages: kmod-kvm : kvm kernel module(s)...

HowTo: Update Centos Linux 5.4 to 5.5

Step # 1: Make A Backup It cannot be stressed enough how important it is to make a backup of...

Linux Default Services Which Are Enabled at Boot

Can you provide a guidance on default CentOS / Fedora / RHEL / Redhat enterprise Linux services...

Linux/UNIX: Configure OpenSSH To Listen On an IPv6 Address

How do I enable OpenSSH SSH server to listen on an IPv6 address under Linux or UNIX operating...