sudo: use INSTALL script to chmod 0440 /etc/sudoers, bumprev.
--HG-- extra : convert_revision : 2e030bb7b1c308f32f5cb173c6827a3eb2371666
This commit is contained in:
11
srcpkgs/sudo/INSTALL
Normal file
11
srcpkgs/sudo/INSTALL
Normal 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
|
||||
Reference in New Issue
Block a user