File: shells.5

package info (click to toggle)
manpages 6.16-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,476 kB
  • sloc: sh: 576; python: 222; perl: 191; makefile: 29; lisp: 22
file content (36 lines) | stat: -rw-r--r-- 823 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
.\" Copyright, the authors of the Linux man-pages project
.\"
.\" SPDX-License-Identifier: GPL-2.0-or-later
.\"
.TH shells 5 2025-05-17 "Linux man-pages (unreleased)"
.SH NAME
shells \- pathnames of valid login shells
.SH DESCRIPTION
.I /etc/shells
is a text file which contains the full pathnames of valid login shells.
This file is consulted by
.BR chsh (1)
and available to be queried by other programs.
.P
Be aware that there are programs which consult this file to
find out if a user is a normal user;
for example,
FTP daemons traditionally
disallow access to users with shells not included in this file.
.SH FILES
.I /etc/shells
.SH EXAMPLES
.I /etc/shells
may contain the following paths:
.P
.in +4n
.EX
.I /bin/sh
.I /bin/bash
.I /bin/csh
.EE
.in
.SH SEE ALSO
.BR chsh (1),
.BR getusershell (3),
.BR pam_shells (8)