Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

chsh.ldap - change login shell in LDAP

Author

       This manual was written by Arthur de Jong <arthur@arthurdejong.org>.

Version 0.9.13                                      Feb 2025                                        chsh.ldap(1)

Description

       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 config‐
       ured in the LDAP server.

Files

/etc/shells - list of valid login shells

Name

       chsh.ldap - change login shell in LDAP

Options

       The options that may be specified to the chsh.ldap command are:

       -s, --shellSHELL
              The name of the user's new login shell.  Setting this field to blank causes the system  to  select
              the default login shell.

       -l, --list-shells
              Print the list of shells found in /etc/shells and exit.

       -h, --help
              Display short help and exit.

       -V,--version
              Output version information and exit.

       If no option is specified chsh.ldap will prompt the user to enter a value for the shell.

See Also

chsh(1), shells(5), nslcd(8)

Synopsis

chsh.ldap [options] [LOGIN]

See Also