# phpman > man > update-shells(8)

[UPDATE-SHELLS(8)](https://www.chedong.com/phpMan.php/man/UPDATE-SHELLS/8/markdown)                       System Manager's Manual                      [UPDATE-SHELLS(8)](https://www.chedong.com/phpMan.php/man/UPDATE-SHELLS/8/markdown)



## NAME
       update-shells - update the list of valid login shells

## SYNOPSIS
       **update-shells** [_options_]

## DESCRIPTION
       **update-shells**  locates  the  shells provided by packages from _/usr/share/debianutils/shells.d_
       and updates _/etc/shells_ with newly added or removed shells.  To track changes made by the ad‐
       ministrator, it consults a state file in _/var/lib/shells.state_ _._

## OPTIONS
### --no-act
              Do not actually perform the changes to _/etc/shells_ _._

       **--root** _ROOT_

              Operate on a chroot at _ROOT_ _._

### --verbose
              Print the shells that are being added or removed.

## FILES
       _/etc/shells_ _/var/lib/shells.state_ _/usr/share/debianutils/shells.d_

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



                                             28 Jun 2021                            [UPDATE-SHELLS(8)](https://www.chedong.com/phpMan.php/man/UPDATE-SHELLS/8/markdown)
