PG1X WIKI

My Knowledge Base

User Tools

Site Tools


tech:server:linux:sudo:sudo

sudo

No Password sudo

fred ALL=(ALL) NOPASSWD: ALL
sudo vim /etc/sudoers.d/fred
sudo chmod 640 /etc/sudoers.d/fred
cat <<EOF | sudo tee /etc/sudoers.d/fred
fred ALL=(ALL) NOPASSWD: ALL
EOF
sudo chmod 640 /etc/sudoers.d/fred
tech/server/linux/sudo/sudo.txt · Last modified: 2020/03/18 22:21 by wnoguchi