sudo: use INSTALL script to chmod 0440 /etc/sudoers, bumprev.

--HG--
extra : convert_revision : 2e030bb7b1c308f32f5cb173c6827a3eb2371666
This commit is contained in:
Juan RP
2010-01-16 05:43:05 +01:00
parent 29c9870e55
commit 07833e3e63
2 changed files with 12 additions and 1 deletions

11
srcpkgs/sudo/INSTALL Normal file
View File

@@ -0,0 +1,11 @@
#
# 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
;;
esac