]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man5/shells.5
Changes.old: Add missing piece to 5.00 changelog
[thirdparty/man-pages.git] / man5 / shells.5
CommitLineData
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)
1c6f59c2 28.TH SHELLS 5 2017-11-26 "" "Linux Programmer's Manual"
fea681da
MK
29.SH NAME
30shells \- pathnames of valid login shells
31.SH DESCRIPTION
8478ee02 32.I /etc/shells
fea681da
MK
33is a text file which contains the full pathnames of valid login shells.
34This file is consulted by
35.BR chsh (1)
36and available to be queried by other programs.
37.PP
38Be aware that there are programs which consult this file to
d1fc9433
MK
39find out if a user is a normal user;
40for example,
41FTP daemons traditionally
fea681da 42disallow 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 47may contain the following paths:
bdd915e2
MK
48.PP
49.in +4n
50.EX
fea681da 51.I /bin/sh
2806f68e 52.I /bin/bash
fea681da 53.I /bin/csh
bdd915e2
MK
54.EE
55.in
47297adb 56.SH SEE ALSO
fea681da 57.BR chsh (1),
bbd64434
MK
58.BR getusershell (3),
59.BR pam_shells (8)