diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-20 20:18:30 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-20 20:18:30 +0100 |
commit | d8317d9225990cfbb5c5bf1a6bb425451f442a7f (patch) | |
tree | ca257d5b5ac7e5e3e0b857b01da3b21c06cd6245 /debian | |
parent | efb35b3db85848b58e884f2e0f1303c3f8d0ec4d (diff) | |
download | vyatta-cfg-system-d8317d9225990cfbb5c5bf1a6bb425451f442a7f.tar.gz vyatta-cfg-system-d8317d9225990cfbb5c5bf1a6bb425451f442a7f.zip |
Debian: radius_user and radius_priv_user are now added via vyos-1x
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/vyatta-cfg-system.postinst.in | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index d6ea7c53..40360245 100755 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -175,29 +175,6 @@ update-rc.d vyatta-config-reboot-params start 20 S # set vyos-intfwatchd to start at boot update-rc.d vyos-intfwatchd start 2345 -# Add radius operator user for radius users to map to -if ! grep -q '^radius_user' /etc/passwd; then - adduser --quiet --firstuid 1001 --disabled-login --ingroup users --gecos "radius user" --shell /bin/vbash radius_user - adduser --quiet radius_user frrvty - adduser --quiet radius_user vyattaop - adduser --quiet radius_user operator - adduser --quiet radius_user adm - adduser --quiet radius_user dip - adduser --quiet radius_user users -fi - -# Add radius admin user for radius users to map to -if ! grep -q '^radius_priv_user' /etc/passwd; then - adduser --quiet --firstuid 1001 --disabled-login --ingroup vyattacfg --gecos "radius privileged user" --shell /bin/vbash radius_priv_user - adduser --quiet radius_priv_user frrvty - adduser --quiet radius_priv_user vyattacfg - adduser --quiet radius_priv_user sudo - adduser --quiet radius_priv_user adm - adduser --quiet radius_priv_user dip - adduser --quiet radius_priv_user disk - adduser --quiet radius_priv_user users -fi - # Local Variables: # mode: shell-script # sh-indentation: 4 |