File location:
/etc/sudoers
Special command to edit the file:
visudo
Find this:
## Allow root to run any commands anywhere root ALL=(ALL) ALL
Add this:
[username] ALL=(ALL) ALL
Done.
Switch user:
sudo [username]
File location:
/etc/sudoers
Special command to edit the file:
visudo
Find this:
## Allow root to run any commands anywhere root ALL=(ALL) ALL
Add this:
[username] ALL=(ALL) ALL
Done.
Switch user:
sudo [username]
1125
194

被折叠的 条评论
为什么被折叠?