5d4f65fa80
--HG-- extra : convert_revision : 1ae154ed121768ef69b7308e563d09b6baef69d0
12 lines
244 B
Text
12 lines
244 B
Text
#
|
|
# This script sets up correct perms for /etc/sudoers.
|
|
#
|
|
case "${ACTION}" in
|
|
post)
|
|
if [ -f etc/sudoers ]; then
|
|
echo "Setting up permissions to /etc/sudoers..."
|
|
chmod 0440 etc/sudoers
|
|
fi
|
|
chmod 4111 usr/bin/sudo usr/bin/sudoedit
|
|
;;
|
|
esac
|