DOKK / manpages / debian 12 / debianutils / remove-shell.8.en
REMOVE-SHELL(8) System Manager's Manual REMOVE-SHELL(8)

remove-shell - remove shells from the list of valid login shells

remove-shell shellname [shellname...]

remove-shell operates on the temporary files /etc/shells.tmp and /etc/shells.tmp2 to remove the given shells from the list of valid login shells, and copy the result back to /etc/shells.

specifies the base path under which /etc/shells resides.

shells(5)

23 Sep 2021