# REMOVE-SHELL - remove shells from the list of valid login shells - man(8) - [phpMan]

[_REMOVE-SHELL_(8)](https://www.chedong.com/phpMan.php/man/REMOVE-SHELL/8/markdown)                        System Manager's Manual                       [_REMOVE-SHELL_(8)](https://www.chedong.com/phpMan.php/man/REMOVE-SHELL/8/markdown)

## NAME
       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  login  shells,  and  copy  the  result  back  to
       _/etc/shells_.

## ENVIRONMENT
       _DPKG_ROOT_
              specifies the base path under which _/etc/shells_ resides.

## SEE ALSO
       [**shells**(5)](https://www.chedong.com/phpMan.php/man/shells/5/markdown)

                                             23 Sep 2021                             [_REMOVE-SHELL_(8)](https://www.chedong.com/phpMan.php/man/REMOVE-SHELL/8/markdown)
