Home  >  Article  >  Operation and Maintenance  >  How to switch from normal user to root user in centos system

How to switch from normal user to root user in centos system

王林
王林Original
2020-03-20 16:42:048208browse

How to switch from normal user to root user in centos system

1. Open the terminal. The prompt is "$", indicating that the user is an ordinary user. At this time, directly enter su, press Enter, enter the root password, and press Enter. Switch to the root user, and the prompt changes to "#".

(Recommended tutorial: centos usage tutorial)

Note: The terminal is not displayed when entering the password, and you must go through it every time you switch to the root user this process.

2. To switch back to a normal user, just enter "su username" and it will be OK.

Recommended related video tutorials: linux video tutorial

The above is the detailed content of How to switch from normal user to root user in centos system. 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