PG1X WIKI

My Knowledge Base

User Tools

Site Tools


tech:server:linux:sudo:sudo

sudo

No Password sudo

fred ALL=(ALL) NOPASSWD: ALL
sudo visudo -f /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: 2021/02/05 08:09 by wnoguchi