summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postinst.in
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-05-25 10:21:03 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-06-04 14:09:56 -0700
commite902973f24c75b24576e914d44a68beaaf2aff5b (patch)
treedb6072e677d632f8f52e0134dcdfbfa58dfa6847 /debian/vyatta-cfg-system.postinst.in
parent379c2618cfbc337625f809f63fd4cb22793eccf8 (diff)
downloadvyatta-cfg-quagga-e902973f24c75b24576e914d44a68beaaf2aff5b.tar.gz
vyatta-cfg-quagga-e902973f24c75b24576e914d44a68beaaf2aff5b.zip
Add pam_cap capability configuration
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rw-r--r--debian/vyatta-cfg-system.postinst.in3
1 files changed, 3 insertions, 0 deletions
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