/etc/shells

A system file listing the full paths of programs allowed as login shells.

In more detail

chsh refuses any shell that is not listed there, as a guard against locking an account out. Adding a line needs root, which is why the course uses sudo sh -c with an append redirect rather than a plain redirect.

Related terms

Taught in

References