aboutsummaryrefslogtreecommitdiffstats
path: root/main/musl-nscd/musl-nscd.post-deinstall
diff options
context:
space:
mode:
Diffstat (limited to 'main/musl-nscd/musl-nscd.post-deinstall')
-rw-r--r--main/musl-nscd/musl-nscd.post-deinstall9
1 files changed, 9 insertions, 0 deletions
diff --git a/main/musl-nscd/musl-nscd.post-deinstall b/main/musl-nscd/musl-nscd.post-deinstall
new file mode 100644
index 0000000000..d8c88a7d54
--- /dev/null
+++ b/main/musl-nscd/musl-nscd.post-deinstall
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# This user is only present on the system to run nscd and does not
+# itself own any files. Great care must be taken to never delete a
+# user or group that actively controls system resources.
+deluser nscd 2>/dev/null
+delgroup nscd 2>/dev/null
+
+exit 0