diff options
author | UnicronNL <kim.sidney@gmail.com> | 2018-05-17 22:09:09 +0200 |
---|---|---|
committer | UnicronNL <kim.sidney@gmail.com> | 2018-05-17 22:09:09 +0200 |
commit | 2392d2acdff02dbf3d04b6a7eb08c195bd3a6168 (patch) | |
tree | ce8577023ebb23ee17fb8d5dee2d9d29d843b050 /debian/libnss-mapuser.prerm | |
parent | a300d135962a05f876d25ca57ddead873ab2173e (diff) | |
download | libnss-mapuser-2392d2acdff02dbf3d04b6a7eb08c195bd3a6168.tar.gz libnss-mapuser-2392d2acdff02dbf3d04b6a7eb08c195bd3a6168.zip |
Create users from vyatta-cfg-system package and update nnswitch in config
Diffstat (limited to 'debian/libnss-mapuser.prerm')
-rw-r--r-- | debian/libnss-mapuser.prerm | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/debian/libnss-mapuser.prerm b/debian/libnss-mapuser.prerm index c4f259f..c9bb6b1 100644 --- a/debian/libnss-mapuser.prerm +++ b/debian/libnss-mapuser.prerm @@ -4,13 +4,6 @@ set -e if [ "$1" = remove ]; then pam-auth-update --package --remove mapuser - # Undo the addition of the plugins - if [ -e "/etc/nsswitch.conf" ]; then - sed -i -e '/^passwd:.*mapuid[ \t]/s/mapuid[ \t]//' \ - -e '/^passwd:.*[ \t]mapname/s/[ \t]mapname//' \ - -e '/^group:.*[ \t]mapname/s/[ \t]mapname//' \ - /etc/nsswitch.conf || true # don't prevent remove on error - fi fi #DEBHELPER# |