diff options
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | debian/libnss-mapuser.postinst | 1 | ||||
-rw-r--r-- | debian/libnss-mapuser.prerm | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index d11304d..190d66d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,7 +8,7 @@ libnss-mapuser (1.1.0-cl3u1) RELEASED; urgency=low have radius_user and/or radius_priv_user, to give that that user account more privileges, similar to tacplus client privilege 15. - -- dev-support <dev-support@cumulusnetworks.com> Tue, 03 Apr 2018 00:13:47 -0700 + -- dev-support <dev-support@cumulusnetworks.com> Fri, 06 Apr 2018 15:46:56 -0700 libnss-mapuser (1.0.0-cl3u2) RELEASED; urgency=low 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 ) ;; diff --git a/debian/libnss-mapuser.prerm b/debian/libnss-mapuser.prerm index af98f1b..c4f259f 100644 --- a/debian/libnss-mapuser.prerm +++ b/debian/libnss-mapuser.prerm @@ -8,6 +8,7 @@ if [ "$1" = remove ]; then 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 |