void-packages/srcpkgs/sudo/INSTALL
Juan RP 5d4f65fa80 sudo: fix the INSTALL script.
--HG--
extra : convert_revision : 1ae154ed121768ef69b7308e563d09b6baef69d0
2010-04-22 16:51:50 +02:00

13 lines
244 B
Plaintext

#
# 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