ADD-SHELL(8)
๐ ADD-SHELL(8) ๐
bestie, this page is about add-shell, and it's giving list management ๐ It adds shells to the list of valid login shells โจ
โจ SYNOPSIS โจ
add-shell shellname [shellname...]
๐ DESCRIPTION ๐
okay so add-shell goes and grabs /etc/shells and makes a copy called /etc/shells.tmp ๐ then it adds whatever shells you give it into that temp file, but only if they aren't already in there ๐
โโ๏ธ and then it copies the temp file right back over /etc/shells. the whole thing is so clean ngl ๐ซถ
the shells you pass in have to be given by their full pathnames. no shortcuts, no "just bash" ๐ type the whole path or it won't slay.
๐ธ ENVIRONMENT ๐ธ
DPKG_ROOTlowkey the main environment variable here ๐ง it sets the base path that/etc/shellslives under.
๐ฆ SEE ALSO ๐ฆ
shells(5)๐ go read this one if you want the deeper lore on the shells file ๐
bestie, that's the whole page ๐ we're signing off with the vibes from System Manager's Manual, the ADD-SHELL(8) page, dated 23 Sep 2021 ๐ stay iconic and keep your shells fully pathed ๐ซถโจ
๐ฆ where this page comes from
- debian trixie: debianutils 5.23.2 ยท GPL-2.0-or-later
- nixpkgs unstable: debianutils 5.23.2
- ubuntu noble: debianutils 5.17build1 ยท GPL-2.0-or-later
- ubuntu questing: debianutils 5.23.2 ยท GPL-2.0-or-later
- ubuntu resolute: debianutils 5.23.2build1 ยท GPL-2.0-or-later
- ubuntu stonking: debianutils 5.24 ยท GPL-2.0-or-later
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms