DOKK / manpages / debian 10 / debianutils / add-shell.8.en
ADD-SHELL(8) System Manager's Manual ADD-SHELL(8)

add-shell - add shells to the list of valid login shells

add-shell shellname [shellname...]

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.

shells(5)

12 May 2011