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.ldapcommand? see http://manpages.ubuntu.com/manpages/bionic/man1/chsh.ldap.1.html – Bodo Feb 19 '19 at 17:53chsh.ldap -s /usr/bin/zshreturnsSegmentation fault (core dumped)– Tom M Feb 19 '19 at 17:59chsh.ldap -horchsh.ldap -lwork? Was the command already available or did you install it just now? – Bodo Feb 19 '19 at 18:08-hand-Vwork.-lerrors out with aSegmentation faultaswell. It was installed on the system already. – Tom M Feb 19 '19 at 18:10