Debian Codegraph @

upstream/debian-unstable/man5/shells.5

raw
1 .\" Copyright, the authors of the Linux man-pages project
2 .\"
3 .\" SPDX-License-Identifier: GPL-2.0-or-later
4 .\"
5 .TH shells 5 2025-05-17 "Linux man-pages 6.18"
6 .SH NAME
7 shells \- pathnames of valid login shells
8 .SH DESCRIPTION
9 .I /etc/shells
10 is a text file which contains the full pathnames of valid login shells.
11 This file is consulted by
12 .BR chsh (1)
13 and available to be queried by other programs.
14 .P
15 Be aware that there are programs which consult this file to
16 find out if a user is a normal user;
17 for example,
18 FTP daemons traditionally
19 disallow access to users with shells not included in this file.
20 .SH FILES
21 .I /etc/shells
22 .SH EXAMPLES
23 .I /etc/shells
24 may contain the following paths:
25 .P
26 .in +4n
27 .EX
28 .I /bin/sh
29 .I /bin/bash
30 .I /bin/csh
31 .EE
32 .in
33 .SH SEE ALSO
34 .BR chsh (1),
35 .BR getusershell (3),
36 .BR pam_shells (8)