How to switch from ordinary user to root user in centos7

王林
Release: 2020-05-20 15:03:12
Original
7625 people have browsed it

How to switch from ordinary user to root user in centos7

The specific method is as follows:

You are currently logged in as an ordinary user. If you want to switch to the root user, you need to enter the command

su
Copy after login

and then enter the root password. After pressing Enter, you will enter the root user.

If we want to switch from the root user to an ordinary user, we only need to enter the command

su 用户名
Copy after login

to switch to an ordinary user.

Recommended tutorial: centos tutorial

The above is the detailed content of How to switch from ordinary user to root user in centos7. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!