UPDATE-SHELLS(8)
๐ update-shells โจ (section 8) ๐
Okay so update-shells is the manual page for your login shell list, and it's lowkey iconic ๐
โจ NAME โจ
update-shells - update the list of valid login shells ๐
๐ธ SYNOPSIS ๐ธ
update-shells [options]
๐ DESCRIPTION ๐
Okay bestie, so update-shells goes hunting for every shell that packages have dropped into /usr/share/debianutils/shells.d ๐ต๏ธโโ๏ธ and then refreshes /etc/shells so it includes any newly added shells and drops the ones that got removed. ๐ฅ It's giving organized. To keep track of what you (the admin) changed by hand, it peeks at a state file at /var/lib/shells.state . No cap, that's how it stays so smart ๐ง
๐ฆ OPTIONS ๐ฆ
--no-actโ Preview mode, babe! It won't actually touch/etc/shells๐--root ROOTโ Want to work inside a chroot instead? Point it atROOT๐ณ If you don't say anything, it just uses whatever theDPKG_ROOTenvironment variable is set to ๐--verboseโ Lowkey wants to tell you everything ๐ฃ It prints the shells being added or removed as it goes โจ
๐ FILES ๐
/etc/shells, /var/lib/shells.state, and /usr/share/debianutils/shells.d are the main files in this whole operation ๐ง
๐ SEE ALSO ๐
shells(5) ๐
Manual page UPDATE-SHELLS(8), from the System Manager's Manual, last updated 28 Jun 2021. Stay iconic out there, bestie ๐ซถ๐
๐ฆ where this page comes from
- debian bookworm: debianutils 5.7-0.5~deb12u1 ยท GPL-2.0-or-later
- 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