How to use zsh as default when starting an ssh session to a remote chef server using LDAP for authentication?
tom@chef:~$ chsh -s /usr/bin/zsh
Password:
chsh: user 'tom' does not exist in /etc/passwd
Zsh is installed on the system.
cat /etc/shells
# /etc/shells: valid login shells
/bin/sh
/bin/bash
/bin/rbash
/bin/dash
/usr/bin/tmux
/usr/bin/screen
/bin/zsh
/usr/bin/zsh
chsh.ldap
command? see http://manpages.ubuntu.com/manpages/bionic/man1/chsh.ldap.1.html – Bodo Feb 19 '19 at 17:53chsh.ldap -s /usr/bin/zsh
returnsSegmentation fault (core dumped)
– Tom M Feb 19 '19 at 17:59chsh.ldap -h
orchsh.ldap -l
work? Was the command already available or did you install it just now? – Bodo Feb 19 '19 at 18:08-h
and-V
work.-l
errors out with aSegmentation fault
aswell. It was installed on the system already. – Tom M Feb 19 '19 at 18:10