---
name: "add-shell"
section: "8"
platform: "linux"
package: "debianutils"
version: "5.23.2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/add-shell"
---

# add-shell(8)

add shells to the list of valid login shells

## 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)](/shells/5.md)
