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.  

Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.