Skip to content

Instantly share code, notes, and snippets.

@JingwenTian
Created February 7, 2014 07:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JingwenTian/8858522 to your computer and use it in GitHub Desktop.
Save JingwenTian/8858522 to your computer and use it in GitHub Desktop.
给普通用户授权使用sudo
#先切换到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