OSDN Git Service

919af7611f8ced674be494137e2a1b0820646a88
[linuxjm/LDP_man-pages.git] / original / man5 / shells.5
1 .\" Copyright (c) 1993 Michael Haardt (michael@moria.de),
2 .\"     Thu May 20 20:45:48 MET DST 1993
3 .\"
4 .\" %%%LICENSE_START(GPLv2+_DOC_FULL)
5 .\" This is free documentation; you can redistribute it and/or
6 .\" modify it under the terms of the GNU General Public License as
7 .\" published by the Free Software Foundation; either version 2 of
8 .\" the License, or (at your option) any later version.
9 .\"
10 .\" The GNU General Public License's references to "object code"
11 .\" and "executables" are to be interpreted as the output of any
12 .\" document formatting or typesetting system, including
13 .\" intermediate and printed output.
14 .\"
15 .\" This manual is distributed in the hope that it will be useful,
16 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
17 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 .\" GNU General Public License for more details.
19 .\"
20 .\" You should have received a copy of the GNU General Public
21 .\" License along with this manual; if not, see
22 .\" <http://www.gnu.org/licenses/>.
23 .\" %%%LICENSE_END
24 .\"
25 .\" Modified Sat Jul 24 17:11:07 1993 by Rik Faith (faith@cs.unc.edu)
26 .\" Modified Sun Nov 21 10:49:38 1993 by Michael Haardt
27 .\" Modified Sun Feb 26 15:09:15 1995 by Rik Faith (faith@cs.unc.edu)
28 .TH SHELLS 5 2012-12-31 "" "Linux Programmer's Manual"
29 .SH NAME
30 shells \- pathnames of valid login shells
31 .SH DESCRIPTION
32 .I /etc/shells
33 is a text file which contains the full pathnames of valid login shells.
34 This file is consulted by
35 .BR chsh (1)
36 and available to be queried by other programs.
37 .PP
38 Be aware that there are programs which consult this file to
39 find out if a user is a normal user;
40 for example,
41 FTP daemons traditionally
42 disallow access to users with shells not included in this file.
43 .SH FILES
44 .I /etc/shells
45 .SH EXAMPLE
46 .I /etc/shells
47 may contain the following paths:
48 .sp
49 .RS
50 .I /bin/sh
51 .br
52 .I /bin/bash
53 .br
54 .I /bin/csh
55 .RE
56 .SH SEE ALSO
57 .BR chsh (1),
58 .BR getusershell (3)
59 .SH COLOPHON
60 This page is part of release 3.67 of the Linux
61 .I man-pages
62 project.
63 A description of the project,
64 information about reporting bugs,
65 and the latest version of this page,
66 can be found at
67 \%http://www.kernel.org/doc/man\-pages/.