phpman > man > SHELLS(5)

Markdown | JSON | MCP    

SHELLS(5)                             Linux Programmer's Manual                            SHELLS(5)



NAME
       shells - pathnames of valid login shells

DESCRIPTION
       /etc/shells  is  a  text  file which contains the full pathnames of valid login shells.  This
       file is consulted by chsh(1) and available to be queried by other programs.

       Be aware that there are programs which consult this file to find out if a user  is  a  normal
       user;  for  example,  FTP  daemons traditionally disallow access to users with shells not in‐
       cluded in this file.

FILES
       /etc/shells

EXAMPLES
       /etc/shells may contain the following paths:

           /bin/sh
           /bin/bash
           /bin/csh

SEE ALSO
       chsh(1), getusershell(3), pam_shells(8)

COLOPHON
       This page is part of release 5.10 of the Linux  man-pages  project.   A  description  of  the
       project,  information about reporting bugs, and the latest version of this page, can be found
       at https://www.kernel.org/doc/man-pages/.



                                             2020-06-09                                    SHELLS(5)

Generated by phpman local Author: Che Dong Under GNU General Public License
2026-06-15 06:08 @216.73.216.200
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!