Skip to content

Latest commit

 

History

History
8 lines (8 loc) · 252 Bytes

linux.md

File metadata and controls

8 lines (8 loc) · 252 Bytes

enable SUDO on ubuntu:

export USER_NAME=radiant
sudo mkdir -p /etc/sudoers.d/
sudo -E bash -c 'echo "$USER_NAME ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/$USER_NAME'
sudo chmod 0440 /etc/sudoers.d/$USER_NAME
sudo usermod -a -G sudo $USER_NAME