How do I switch to root user?

Mỹ An

New member
How do I switch to root user?
Answer
The su command lets you switch the current user to any other user. If you need to run a command as a different (non-root) user, use the –l [username] option to specify the user account. Additionally, su can also be used to change to a different shell interpreter on the fly.
 

Tìm kiếm

Back
Top