From 4b24261d4a28ed1cd994939d6fa658b44c30a0ac Mon Sep 17 00:00:00 2001 From: Dave Olson Date: Fri, 6 Apr 2018 15:06:27 -0700 Subject: 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. --- debian/libnss-mapuser.postinst | 1 + 1 file changed, 1 insertion(+) (limited to 'debian/libnss-mapuser.postinst') 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 ) ;; -- cgit v1.2.3