diff options
author | Maxim Andersson | 2015-07-29 23:09:00 +0200 |
---|---|---|
committer | Maxim Andersson | 2015-07-29 23:09:00 +0200 |
commit | e29c46de55209b017804cae96eb1a7748933131c (patch) | |
tree | e73c7e1ef876b5e770c7f2bca4d9c12d97c0d6cd /mailpile.install | |
parent | 85832e21a8c30c58815ef106a35cee0b2349dc47 (diff) | |
download | aur-e29c46de55209b017804cae96eb1a7748933131c.tar.gz |
Remove userdel and groupdel
Users and groups should not be removed automatically as it poses a
security risk if any files are left behind.
See https://www.archlinux.org/todo/usergroup-management/
Diffstat (limited to 'mailpile.install')
-rw-r--r-- | mailpile.install | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/mailpile.install b/mailpile.install index 5922e1a73e18..50965dba5327 100644 --- a/mailpile.install +++ b/mailpile.install @@ -28,13 +28,5 @@ post_upgrade() { post_remove() { systemctl stop mailpile >/dev/null 2>&1 - if getent passwd mailpile >/dev/null; then - userdel mailpile >/dev/null 2>&1 - fi - - if getent group mailpile >/dev/null; then - groupdel mailpile >/dev/null 2>&1 - fi - echo "==> Note: /var/lib/mailpile may still contain data" } |