Change user's login shell

You may change the login shell with phpldapadmin or lam or command line:

signal-event user-modify user Username /bin/zsh

https://docs.nethserver.org/projects/nethserver-devel/en/latest/nethserver-sssd.html#user-modify

Another way with ldapmodify:

ldapmodify -Y EXTERNAL <<EOF
dn: uid=user,ou=People,dc=directory,dc=nh
changetype: modify
replace: loginShell
loginShell: /bin/zsh
EOF
1 Like