LinuxCommandLibrary

remove-shell

remove shells from the list of valid login shells

SYNOPSIS

remove-shell shellname [shellname...]

DESCRIPTION

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

SEE ALSO

shells(5) 7 Apr 2005 REMOVE-SHELL(8)

Copied to clipboard