summarylogtreecommitdiffstats
path: root/shadow.install
diff options
context:
space:
mode:
Diffstat (limited to 'shadow.install')
-rw-r--r--shadow.install22
1 files changed, 0 insertions, 22 deletions
diff --git a/shadow.install b/shadow.install
deleted file mode 100644
index 83d9ab7d3177..000000000000
--- a/shadow.install
+++ /dev/null
@@ -1,22 +0,0 @@
-setcaps() {
- _setcap() {
- if filecap "$1" "$2"; then
- chmod -s "$1"
- fi
- }
-
- # shadow ships these as setuid, but if we can apply file caps, use those instead.
- # 'filecap' insists on absolute paths
- _setcap /usr/bin/newuidmap setuid
- _setcap /usr/bin/newgidmap setgid
-}
-
-post_install() {
- setcaps
-}
-
-post_upgrade() {
- setcaps
-}
-
-# vim:set ts=2 sw=2 et: