]>
Commit | Line | Data |
---|---|---|
3d54a910 MK |
1 | .\" Copyright (c) 1993 Michael Haardt (michael@moria.de), |
2 | .\" Thu May 20 20:45:48 MET DST 1993 | |
fea681da | 3 | .\" |
1dd72f9c | 4 | .\" %%%LICENSE_START(GPLv2+_DOC_FULL) |
fea681da MK |
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 | |
c715f741 MK |
21 | .\" License along with this manual; if not, see |
22 | .\" <http://www.gnu.org/licenses/>. | |
6a8d8745 | 23 | .\" %%%LICENSE_END |
fea681da MK |
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) | |
d1fc9433 | 28 | .TH SHELLS 5 2012-12-31 "" "Linux Programmer's Manual" |
fea681da MK |
29 | .SH NAME |
30 | shells \- pathnames of valid login shells | |
31 | .SH DESCRIPTION | |
8478ee02 | 32 | .I /etc/shells |
fea681da MK |
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 | |
d1fc9433 MK |
39 | find out if a user is a normal user; |
40 | for example, | |
41 | FTP daemons traditionally | |
fea681da | 42 | disallow access to users with shells not included in this file. |
2b2581ee MK |
43 | .SH FILES |
44 | .I /etc/shells | |
9b336505 | 45 | .SH EXAMPLE |
8478ee02 | 46 | .I /etc/shells |
fea681da MK |
47 | may contain the following paths: |
48 | .sp | |
49 | .RS | |
50 | .I /bin/sh | |
51 | .br | |
2806f68e MK |
52 | .I /bin/bash |
53 | .br | |
fea681da MK |
54 | .I /bin/csh |
55 | .RE | |
47297adb | 56 | .SH SEE ALSO |
fea681da MK |
57 | .BR chsh (1), |
58 | .BR getusershell (3) |