# add-shell - add shells to the list of valid login shells - man(8) - [phpMan]

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

## NAME
       add-shell - add shells to the list of valid login shells

## SYNOPSIS
       **add-shell _**shellname_ [_shellname_...]

## DESCRIPTION
       **add-shell  **copies  _/etc/shells_ to _/etc/shells.tmp_, adds the given shells to this file if they
       are not already present, and copies this temporary file back to _/etc/shells_.

       The shells must be provided by their full pathnames.

## 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                                [_ADD-SHELL_(8)](https://www.chedong.com/phpMan.php/man/ADD-SHELL/8/markdown)
