vp-build/srcpkgs/pam/INSTALL
Juan RP 6a5f54e8cb pam: fix conf_files, enable pam_namespace(8) for /tmp and /var/tmp.
- We now create /tmp and /var/tmp as tmpfs instances for all users
  except root, via pam_namespace(8).
- Fixed conf_files, it's /etc/environment not /etc/security/environment.

Bump revision.

--HG--
extra : convert_revision : 04b3d5a9c3e08b28e61708ea33ddb78db8ce5c77
2010-01-17 22:48:29 +01:00

17 lines
478 B
Plaintext

# This script creates the pam_namespace(8) instance directories
# for /tmp and /var/tmpfs, they are created from /tmp/.tmp_inst
# and /var/tmp/.tmp_inst respectively.
#
case "${ACTION}" in
post)
if [ ! -d tmp/.tmp_inst ]; then
mkdir -m 0000 tmp/.tmp_inst || exit $?
echo "Created pam_namespace(8) /tmp instance dir."
fi
if [ ! -d var/tmp/.tmp_inst ]; then
mkdir -m 0000 var/tmp/.tmp_inst || exit $?
echo "Created pam_namespace(8) /var/tmp instance dir."
fi
;;
esac