diff options
| author | Christian Breunig <christian@breunig.cc> | 2024-04-29 21:08:38 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2024-04-29 21:08:38 +0200 |
| commit | fe472036333946c68bc141d59385de796a0650fe (patch) | |
| tree | 886a094969709520a2dc3a77619bedc4ac5a4370 /debian/libtacplus-map1.postinst | |
| parent | c7cbeb1907cb20b8c5ddb7fafab11989d9f7783f (diff) | |
| download | libtacplus-map-fe472036333946c68bc141d59385de796a0650fe.tar.gz libtacplus-map-fe472036333946c68bc141d59385de796a0650fe.zip | |
Import sources from Cumulus Linux version 1.0.1-cl5.1.0u9
Diffstat (limited to 'debian/libtacplus-map1.postinst')
| -rw-r--r-- | debian/libtacplus-map1.postinst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/libtacplus-map1.postinst b/debian/libtacplus-map1.postinst index 1a45376..3526c8a 100644 --- a/debian/libtacplus-map1.postinst +++ b/debian/libtacplus-map1.postinst @@ -21,6 +21,8 @@ esac # The accounts are not enabled for local login, since they are # only used to provide uid/gid/homedir for the mapped TACACS+ # logins (and lookups against them). +# The tacacs15 user is also added to the sudo group, and nclu group netedit +# rather than netshow (used for tacacs0-14). # --firstuid is used because the installed pam_tacplus configs and audit files are # for uid >1000. Ideally, there should be a way to specify a minimum, but not @@ -42,6 +44,7 @@ while [ $level -lt 16 ]; do level=$(( level+1 )) [ $level -eq 15 ] && nclu_grp=netedit done 2>&1 | grep -v 'already exists' +adduser --quiet tacacs15 sudo 2>&1 | grep -v 'already exists' exit 0 ) |
