update-shells(8)

update-shells8

Update the list of valid login shells

Usage

update-shells [options]

Overview

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 .

Options

--no-act

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

--root

ROOT

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

--verbose

Print the shells that are being added or removed.

Files

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

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

From debianutils 5.23.2 in Debian 13 (Trixie). Parsed by carta from the page's man source.