How do I use sudo user?

Như Quỳnh

New member
How do I use sudo user?
Answer
Another way to switch to another account with sudo is to use the -s option. If you run sudo -s that will start a shell as root. You can specify a user with the -u option.
…
Using sudo.

Commands

Meaning

sudo -u user command

Run command as user.
 

Tìm kiếm

Back
Top