From 624b27867fbae8a24c5f632200bb8b347c167ddc Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 30 Dec 2020 15:49:25 +0100 Subject: 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. --- debian/radius-shell.postinst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'debian/radius-shell.postinst') diff --git a/debian/radius-shell.postinst b/debian/radius-shell.postinst index aa918d4..5c766f2 100644 --- a/debian/radius-shell.postinst +++ b/debian/radius-shell.postinst @@ -22,6 +22,9 @@ case "$1" in *) chsh -s $radshell $usr ;; esac done + if [ -x /usr/sbin/add-shell ]; then + /usr/sbin/add-shell /sbin/radius_shell + fi ;; esac -- cgit v1.2.3