Created
February 7, 2014 07:19
-
-
Save JingwenTian/8858522 to your computer and use it in GitHub Desktop.
给普通用户授权使用sudo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#先切换到root用户,然后按照下面的步骤来: | |
vim /etc/sudoers | |
#找到这一行:"root ALL=(ALL)ALL"在其后面添加:(username为你的用户名) | |
username ALL=(ALL) ALL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment