add-shell(8)

add-shell8

Add shells to the list of valid login shells

Usage

add-shell shellname [shellname ...]

Overview

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.

Releases

10 releases since Debian 4.0 (Etch); the text changed 4 times.

  1. 4.0–6.0
  2. 7–10
  3. 11
  4. 12
  5. 13

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