REMOVE-SHELL(8)

๐Ÿ“ฆ
version 5.24 ยท 3 versions
, in debian trixie, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

โœจ NAME โœจ

okay so this page is for remove-shell ๐Ÿ’– it's the tool that takes shells off the list of valid login shells ๐Ÿš

๐ŸŽ€ SYNOPSIS ๐ŸŽ€

remove-shell shellname [shellname...]

๐Ÿ’… DESCRIPTION ๐Ÿ’…

okay so remove-shell is lowkey a whole vibe ๐Ÿฆ‹ it works on the temporary files /etc/shells.tmp and /etc/shells.tmp2, yanks the shells you name out of the list of valid login shells, and then copies the cleaned-up result back into /etc/shells โœจ no cap, that's the whole move ๐Ÿซถ

๐ŸŒˆ ENVIRONMENT ๐ŸŒˆ

  • DPKG_ROOT โ€” this one sets the base path that /etc/shells lives under ๐Ÿงš it's giving "where is my file hiding" energy, so point it at the right root if you need to ๐Ÿ“

๐Ÿ”— SEE ALSO ๐Ÿ”—

shells(5) ๐Ÿ’œ go read that one too, bestie, it's iconic ๐Ÿ‘‘


ok that's the whole tea ๐Ÿซถ REMOVE-SHELL(8) from the System Manager's Manual, last updated 23 Sep 2021, periodt ๐Ÿ’–โœจ