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

Linux uses different users to log in to the system

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article is to share with you about Linux using different users to log on to the system, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.

First, enter the system (login)

1. Superuser login

The user name of the superuser is root, and the password is set when the system is installed. After the system boots successfully, the screen displays the following prompt:

Localhost login:

Enter the super user name "root" at this point, and then type enter. At this point, the user will see a prompt for a password on the screen:

Localhost login:rootPassword:

At this point, you need to enter a password. When you enter a password, the password does not appear on the screen. If the user enters the wrong password, they will see the following information on the screen:

Login incorrect.

At this point, you need to re-enter. When the user enters the user name and password correctly, he can legally enter the system. The screen shows:

[root@loclhost ~] #

This indicates that the user is logged in to the system and is ready for operation. Where "#" is the superuser's system prompt.

2. Ordinary users log in

After the ordinary user login has established an ordinary user account, you can log in.

When logging in, the user will see a prompt similar to the following on the screen:

Localhost login:

Enter the user name "wah" at this time, and then type enter. At this point, the user will see a prompt for a password on the screen:

Localhost login:wahPassword:

At this point, you need to enter a password. When you enter a password, the password does not appear on the screen. If the user enters the wrong password, they will see the following information on the screen:

Login incorrect.

At this point, you need to re-enter. When the user enters the user name and password correctly, he can legally enter the system. The screen shows:

[wah@loclhost wah] $

This indicates that the user is logged in to the system and is ready for operation.

This is how Linux uses different users to log in to the system. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

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