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

The solution of prompting Authentication failure when linux uses su to switch users

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly explains "linux use su to switch users prompt Authentication failure solution", the explanation content in the article is simple and clear, easy to learn and understand, please follow the small series of ideas slowly in-depth, together to study and learn "linux use su to switch users prompt Authentication failure solution"!

The reason for this problem is that the ubtun system does not activate the root user by default, so we need to manually operate it. Under the command line interface, or in the terminal, enter the following command:

sudo passwd

Password: Your current password

Enter new UNIX password: This is the root password.

Retype new UNIX password: Repeat root password

It will then prompt for a successful message.

To illustrate, there is a difference between su and sudo. To switch users with su, you need to enter the password of the user you are switching to, while sudo is the password of the current user.

Thank you for reading, the above is "linux use su switching users prompt Authentication failure solution" content, after learning this article, I believe we use su linux switching users prompt Authentication failure solution this problem has a deeper understanding, the specific use of the situation also needs to be verified by practice. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!

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