From e902973f24c75b24576e914d44a68beaaf2aff5b Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 25 May 2010 10:21:03 -0700 Subject: Add pam_cap capability configuration --- debian/vyatta-cfg-system.postinst.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'debian/vyatta-cfg-system.postinst.in') diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index 7778ea87..dee13d4f 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -137,6 +137,9 @@ EOF # Set file capabilities sed -r -e '/^#/d' -e '/^[[:blank:]]*$/d' <$sysconfdir/filecaps \ | xargs -i sh -c "setcap {}" + + # Install pam_cap config + cp $sysconfdir/capability.conf /etc/security/capability.conf fi # create needed directories -- cgit v1.2.3