mailiverse/install/enable-passwordless-sudo.remote

6 lines
87 B
Plaintext
Raw Normal View History

2013-10-04 22:37:51 -04:00
echo "
$1 ALL=(ALL) NOPASSWD: ALL
" >> /etc/sudoers.d/$1
chmod 0440 /etc/sudoers.d/$1