DOKK / manpages / debian 12 / debianutils / update-shells.8.en
UPDATE-SHELLS(8) System Manager's Manual UPDATE-SHELLS(8)

update-shells - update the list of valid login shells

update-shells [options]

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 administrator, it consults a state file in /var/lib/shells.state .

Do not actually perform the changes to /etc/shells .
ROOT

Operate on a chroot at ROOT . Defaults to the value of the environment variable DPKG_ROOT .

Print the shells that are being added or removed.

/etc/shells /var/lib/shells.state /usr/share/debianutils/shells.d

shells(5)

28 Jun 2021