Change login shell in ldap
chsh.ldap \kx [options] [LOGIN]
The chsh.ldap command can be used to change user's login shell (command interpreter).
The actual change in LDAP is performed by the nslcd daemon and is subject to the access controls configured in the LDAP server.
The options that may be specified to the chsh.ldap command are:
\*(T<-s\*(T>, \*(T<--shell\*(T> SHELL
The name of the user's new login shell. Setting this field to blank causes the system to select the default login shell.
\*(T<-l\*(T>, \*(T<--list-shells\*(T>
Print the list of shells found in \*(T</etc/shells\*(T> and exit.
\*(T<-h\*(T>, \*(T<--help\*(T>
Display short help and exit.
\*(T<-V, --version\*(T>
Output version information and exit.
If no option is specified chsh.ldap will prompt the user to enter a value for the shell.
\*(T</etc/shells\*(T> - list of valid login shells
This manual was written by Arthur de Jong <[email protected]>.