mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 20:41:53 -07:00
6 lines
156 B
Bash
Executable file
6 lines
156 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ -e "/etc/sudoers.d/admin" ]; then
|
|
sed -i "s/admin.*ALL=(ALL).*/# sudo is limited to vesta scripts/" \
|
|
/etc/sudoers.d/admin
|
|
fi
|