Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to remotely modify the Root user password of Linux system VPS server

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces "how to remotely modify Linux system VPS server Root user password". In daily operation, I believe many people have doubts about how to remotely modify Linux system VPS server Root user password. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubt of "how to remotely modify Linux system VPS server Root user password". Next, please follow the editor to study!

The method is actually very simple, in the Windows system with putty link to Linux with a simple command can be done.

Linux command to modify root password

First log in as root and execute: "passwd user name" (the user name is generally root), as in the following example:

[root@bogon ~] # passwd root

Changing password for user root.

New UNIX password:

Retype new UNIX password:

Putty picture and text operation process

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

As shown in the image above, you have successfully logged in, then type passwd root after # and press enter.

As shown in the figure above, enter the new password or press enter; (note: nothing will be displayed when entering), and then a line of Retype new UNIX password will continue to appear (re-enter the UNIX password), and you can enter the new password you just entered. At this point, the Root password of your Linux or UNIX system has been changed. Press exit enter to exit the remote link.

At this point, the study on "how to remotely modify the Linux system VPS server Root user password" is over. I hope to be able to solve everyone's doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report