Remotely modify the Linux system VPS server Root user password tutorial

  
                  

When you first come into contact with a VPS host on a Linux system, the operator will often give you a username and password for the remote login management of the Linux system. And this password is the default cut has a certain law, so it is very unsafe. At this time we need to modify the Root password.

The method is actually very simple. You can do it with a simple command after linking to Linux with putty in Windows system.

Linux modify root password command

First login as root, execute: "passwd username" (user name is generally root), as the following example:

[root @bogon ~]# passwd root Changing password for user root. New UNIX password: Retype new UNIX password:

putty graphic operation

For users who have not been exposed to remote operation VPS Before that, you have to make sure that you already know how to connect to the Linux system remotely. If your computer is a Windwos system, a good way is to use the putty tool. Then as shown in FIG access up to VPS:

as shown above, has been successful landing, and enter the press Enter passwd root # later.

As shown above, enter a new password or press Return; (Note: does not display any content input), and the opportunity to continue to appear a row Retype new UNIX password (re-enter the UNIX password ), you can enter the new password you just entered and press Enter. At this point, your Linux or UNIX system root user password has been modified. Press exit to exit the remote link.

Copyright © Windows knowledge All Rights Reserved