Traditional Culture Encyclopedia - Almanac inquiry - How to log in and out of Linux system

How to log in and out of Linux system

1. After the system is successfully started, the following prompt will be displayed on the screen: "localhost login:". Enter a user name, such as philcheng, and then type Enter.

2. You need to enter the password. When entering the password, the password will not be displayed on the screen. Input, when the user correctly inputs the user name and password, he can legally enter the system.

Exit the system: enter the command: exit. In other words, return to the state before logging in.

Extended data:

Login password error:

When logging in to the system, the user entered the wrong password and will see the following message on the screen: Incorrect login. The user needs to re-enter. When the user correctly enters the user name and password, they can legally enter the system.

Modify password:

In order to better protect the security of user accounts, Linux allows users to change their passwords at any time. The password change command is passwd, prompting the user to enter the old password and the new password, and then asking the user to confirm the new password again to prevent the user from accidentally pressing the wrong key.

If the user forgets the password, he can ask the system administrator to set a new password for himself.