1shells(4)                        File Formats                        shells(4)
2
3
4

NAME

6       shells - shell database
7

SYNOPSIS

9       /etc/shells
10
11

DESCRIPTION

13       The  shells  file contains a list of the shells on the system. Applica‐
14       tions use this file to determine whether a shell is valid. See getuser‐
15       shell(3C).  For  each shell a single line should be present, consisting
16       of the shell's path, relative to root.
17
18
19       A hash mark (#) indicates the beginning of a comment; subsequent  char‐
20       acters  up  to  the end of the line are not interpreted by the routines
21       which search the file. Blank lines are also ignored.
22
23
24       The  following  default  shells  are  used  by  utilities:   /bin/bash,
25       /bin/csh,   /bin/jsh,  /bin/ksh,  /bin/ksh93,  /bin/pfcsh,  /bin/pfksh,
26       /bin/pfsh,   /bin/sh,   /bin/tcsh,   /bin/zsh,   /sbin/jsh,   /sbin/sh,
27       /usr/bin/bash,      /usr/bin/csh,      /usr/bin/jsh,      /usr/bin/ksh,
28       /usr/bin/ksh93,  /usr/bin/pfcsh,  /usr/bin/pfksh,  /usr/bin/pfsh,   and
29       /usr/bin/sh,   /usr/bin/tcsh,   /usr/bin/zsh,   and   /usr/sfw/bin/zsh.
30       /etc/shells overrides the default list.
31
32
33       Invalid shells in /etc/shells could cause unexpected behavior, such  as
34       being unable to log in by way of ftp(1).
35

FILES

37       /etc/shells    list of shells on system
38
39

SEE ALSO

41       vipw(1B), ftpd(1M), sendmail(1M), getusershell(3C), aliases(4)
42
43
44
45SunOS 5.11                        20 Nov 2007                        shells(4)
Impressum