Home  >  Article  >  Operation and Maintenance  >  How to log in to Linux

How to log in to Linux

藏色散人
藏色散人Original
2019-11-12 09:19:2112806browse

How to log in to Linux

How to log in to Linux?

1. Enter the system (log in)

1. Super user login;

Super user user It is named root and the password was set when the system was installed. After the system starts successfully, the screen displays the following prompt:

localhost login:

At this time, enter the super user name "root", and then type the Enter key. At this time, the user will see a prompt to enter the password on the screen:

localhost login:root
Password:

At this time, the password needs to be entered. The password will not be displayed on the screen when you enter it. If the user enters an incorrect password, they will see the following message on the screen:

login incorrect.

You will need to re-enter it. When the user correctly enters the user name and password, he can legally enter the system. The screen displays:

[root@loclhost ~] #

This indicates that the user has logged in to the system and can perform operations. Here "#" is the system prompt of the super user.

Recommended: "Linux Tutorial"

2. Ordinary user login

Ordinary user login After creating a normal user account, you can log in.

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

localhost login:

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

localhost login:wah
Password:

At this time, the password needs to be entered. The password will not be displayed on the screen when you enter it. If the user enters an incorrect password, they will see the following message on the screen:

login incorrect.

You will need to re-enter it. When the user correctly enters the user name and password, he can legally enter the system. The screen displays:

[wah@loclhost wah] $

This indicates that the user has logged in to the system and can perform operations.

The above is the detailed content of How to log in to Linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn