Skip to content

Instantly share code, notes, and snippets.

@chooaya
Created March 3, 2019 10:38
Show Gist options
  • Save chooaya/212906c09a745a53b310418c10a0e600 to your computer and use it in GitHub Desktop.
Save chooaya/212906c09a745a53b310418c10a0e600 to your computer and use it in GitHub Desktop.
https://qiita.com/wenbose/items/9d2ec4e663258e97ae2a
sudo bash -c "echo \"[デフォルトユーザ名] ALL=(root) NOPASSWD: ALL\" >> /etc/sudoers.d/nonpass_sudo"
sudo chmod 0440 /etc/sudoers.d/nonpass_sudo
sudo visudo -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment