mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 04:26:23 -07:00
Limiting /etc/sudoers for Ubuntu
This commit is contained in:
parent
c3c4de43d6
commit
c9844805a4
1 changed files with 2 additions and 0 deletions
|
@ -4,3 +4,5 @@ if [ -e "/etc/sudoers.d/admin" ]; then
|
|||
sed -i "s/admin.*ALL=(ALL).*/# sudo is limited to vesta scripts/" \
|
||||
/etc/sudoers.d/admin
|
||||
fi
|
||||
|
||||
sed -i "s/%admin.*ALL=(ALL).*/# sudo is limited to vesta scripts/" /etc/sudoers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue