diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-12-30 15:49:25 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-12-31 09:29:58 +0100 |
commit | 624b27867fbae8a24c5f632200bb8b347c167ddc (patch) | |
tree | 5dfa760f02eca09149290cd6f099372887dfecdc /debian/radius-shell.postrm | |
parent | 76ad405d374f708128e0447c14bbd966d820928a (diff) | |
download | libpam-radius-auth-624b27867fbae8a24c5f632200bb8b347c167ddc.tar.gz libpam-radius-auth-624b27867fbae8a24c5f632200bb8b347c167ddc.zip |
T3164: add radius_shell to list of allowed shells
Dropbear used by the console-server service does not like beeing called
with this shell as it is not allowed until now.
Diffstat (limited to 'debian/radius-shell.postrm')
-rw-r--r-- | debian/radius-shell.postrm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/radius-shell.postrm b/debian/radius-shell.postrm index 89ae97f..d073b68 100644 --- a/debian/radius-shell.postrm +++ b/debian/radius-shell.postrm @@ -16,6 +16,9 @@ case "$1" in *${radshell}*) chsh -s /bin/bash $usr ;; esac done + if [ -x /usr/sbin/remove-shell ] && [ -f /etc/shells ]; then + /usr/sbin/remove-shell /sbin/radius_shell + fi ;; esac |