| 1 |
.\" Copyright (c) 1993 Michael Haardt ([email protected]), |
| 2 |
.\" Thu May 20 20:45:48 MET DST 1993 |
| 3 |
.\" |
| 4 |
.\" SPDX-License-Identifier: GPL-2.0-or-later |
| 5 |
.\" |
| 6 |
.\" Modified Sat Jul 24 17:11:07 1993 by Rik Faith ([email protected]) |
| 7 |
.\" Modified Sun Nov 21 10:49:38 1993 by Michael Haardt |
| 8 |
.\" Modified Sun Feb 26 15:09:15 1995 by Rik Faith ([email protected]) |
| 9 |
.TH shells 5 2024-05-02 "Linux man-pages 6.9.1" |
| 10 |
.SH NAME |
| 11 |
shells \- pathnames of valid login shells |
| 12 |
.SH DESCRIPTION |
| 13 |
.I /etc/shells |
| 14 |
is a text file which contains the full pathnames of valid login shells. |
| 15 |
This file is consulted by |
| 16 |
.BR chsh (1) |
| 17 |
and available to be queried by other programs. |
| 18 |
.P |
| 19 |
Be aware that there are programs which consult this file to |
| 20 |
find out if a user is a normal user; |
| 21 |
for example, |
| 22 |
FTP daemons traditionally |
| 23 |
disallow access to users with shells not included in this file. |
| 24 |
.SH FILES |
| 25 |
.I /etc/shells |
| 26 |
.SH EXAMPLES |
| 27 |
.I /etc/shells |
| 28 |
may contain the following paths: |
| 29 |
.P |
| 30 |
.in +4n |
| 31 |
.EX |
| 32 |
.I /bin/sh |
| 33 |
.I /bin/bash |
| 34 |
.I /bin/csh |
| 35 |
.EE |
| 36 |
.in |
| 37 |
.SH SEE ALSO |
| 38 |
.BR chsh (1), |
| 39 |
.BR getusershell (3), |
| 40 |
.BR pam_shells (8) |