Sign in
coral
/
mendel-minimal
/
a709e06d69a16452c6b30fc65e18e46e3d01a769
/
.
/
etc
/
runonce.d
/
99-mendel-sudo
blob: 94e24ec3abfbec74ea70147db90640fc975c139b [
file
] [
log
] [
blame
]
#!/bin/bash
# Add the mendel user to the sudoers file if they're not there
if
!
grep
-
q mendel
/
etc
/
sudoers
;
then
echo
'mendel ALL=(ALL) NOPASSWD: ALL'
>>/
etc
/
sudoers
fi