chsh.ldap(1)

chsh.ldap1

Change login shell in ldap

Usage

FCchsh.ldapF [0] [options] [LOGIN]

Overview

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.

Options

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

FC-sF[0], FC--shellF[0] SHELL

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

FC-lF[0], FC--list-shellsF[0]

Print the list of shells found in FC/etc/shellsF[0] and exit.

FC-hF[0], FC--helpF[0]

Display short help and exit.

FC-V, --versionF[0]

Output version information and exit.

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

Files

FC/etc/shellsF[0] - list of valid login shells

Releases

7 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13–Arch

Author

This manual was written by Arthur de Jong <[email protected]>.

From nss-pam-ldapd 0.9.13-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.