chsh.ldap(1)

πŸ“¦
version 0.9.13 Β· 4 versions
, in arch rolling, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’… chsh.ldap β€” the girlies' guide to switching your login shell in LDAP ✨

okay so bestie, welcome to chsh.ldap β€” it's a User Commands girlie, manual section 1, and she's here to help you change your login shell (aka your command interpreter) but make it LDAP. πŸ¦‹


🌸 SYNOPSIS 🌸

chsh.ldap [options] [LOGIN]

πŸ’– DESCRIPTION πŸ’–

The chsh.ldap command can be used to change user's login shell (command interpreter). Literally that's the whole job. She's an icon, she's a legend, and that's the moment. πŸ‘‘

But here's the tea πŸ«– β€” the actual change in LDAP is performed by the nslcd daemon, and it is subject to the access controls configured in the LDAP server. So like… you can ask, but whether it happens? That's between nslcd and the LDAP server's ACLs. Not our business, not our problem. πŸ™ˆ


✨ OPTIONS ✨

These are the options that may be specified to the chsh.ldap command, bestie:

  • -s, --shell SHELL β€” the name of the user's new login shell. Setting this field to blank causes the system to select the default login shell. (Blank = "you pick, system, I trust you" energy πŸ’«)
  • -l, --list-shells β€” print the list of shells found in /etc/shells and exit. A lil menu, a lil vibe check, then she's out. πŸŽ€
  • -h, --help β€” display short help and exit. She's helpful AND she's leaving. πŸ’…
  • -V, --version β€” output version information and exit. Main character announcement, then exit. πŸ‘‘
If no option is specified chsh.ldap will prompt the user to enter a value for the shell. So don't worry, she'll ask you directly β€” no cap. πŸ₯Ί

πŸ“ FILES πŸ“

  • /etc/shells β€” list of valid login shells

🌈 SEE ALSO 🌈

iykyk, go read those next bestie πŸ’œ


🧚 AUTHOR 🧚

This manual was written by Arthur de Jong <arthur@arthurdejong.org>. We love an author who documents things fr fr. 🫢


and that's the whole page, bestie!! this one's Version 0.9.13, dated Feb 2025, and it ate, no crumbs left. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«ΆπŸ˜­πŸ”₯πŸ‘‘πŸŒˆβ­πŸ’€πŸ™ˆπŸ“πŸ§šπŸ’œ periodt.