diff options
author | Dave Olson <olson@cumulusnetworks.com> | 2018-04-06 15:06:27 -0700 |
---|---|---|
committer | Dave Olson <olson@cumulusnetworks.com> | 2018-04-06 15:47:08 -0700 |
commit | 4b24261d4a28ed1cd994939d6fa658b44c30a0ac (patch) | |
tree | c67c0c6116a0413b31905e43d238df982eab35ef /debian/libnss-mapuser.postinst | |
parent | 19e1c2b3cfd99d7ea62e4e8a827febcd7ec15e19 (diff) | |
download | libnss-mapuser-4b24261d4a28ed1cd994939d6fa658b44c30a0ac.tar.gz libnss-mapuser-4b24261d4a28ed1cd994939d6fa658b44c30a0ac.zip |
cleanup group mapname in nsswitch on remove; add priv user to sudo group
Needed to add sed code to remove mapname from nsswitch.conf group
search line, similar to passwd line. Somehow forgot that when I
added the code to add it in postinst
I also somehow forgot to checkin the adduser line to add the
radius_priv_user to the sudo group, so fixed that too.
Diffstat (limited to 'debian/libnss-mapuser.postinst')
-rw-r--r-- | debian/libnss-mapuser.postinst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/libnss-mapuser.postinst b/debian/libnss-mapuser.postinst index ee6a70d..13bf0d0 100644 --- a/debian/libnss-mapuser.postinst +++ b/debian/libnss-mapuser.postinst @@ -32,6 +32,7 @@ case "$1" in adduser --quiet radius_user netshow # privileged radius logins can run net config commands, as well as show adduser --quiet radius_priv_user netedit + adduser --quiet radius_priv_user sudo exit 0 ) ;; |