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-05-25 18:06:22 -0700
commit95a09ac6c161e604638f4cf14a342109d25888be (patch)
treecae73d8a7220f9124564ecff9ae587510c090baa /debian/vyatta-cfg-system.postinst.in
parentb4114baaf953c1f9c17449a2a63b2cecacaa69df (diff)
downloadvyatta-cfg-system-95a09ac6c161e604638f4cf14a342109d25888be.tar.gz
vyatta-cfg-system-95a09ac6c161e604638f4cf14a342109d25888be.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