source: postlfs/config/etcshells.xml@ 975d907a

10.0 10.1 11.0 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk v5_1 v5_1-pre1 xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 975d907a was 975d907a, checked in by Igor Živković <igor@…>, 18 years ago

really adding /etc/shells

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1958 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 1.1 KB
Line 
1<sect1 id="postlfs-config-shells">
2<?dbhtml filename="etcshells.html" dir="postlfs"?>
3<title>/etc/shells</title>
4
5<para>The <filename>shells</filename> file contains a list of
6login shells on the system. Applications use this file to determine
7whether a shell is valid. For each shell a single line should be
8present, consisting of the shell's path, relative to root.</para>
9
10<para>For example, this file is consulted by <command>chsh</command> to
11determine whether a normal user may change the login shell for her
12own account. If the command name is not listed, the user will be denied of
13change.</para>
14
15<para>It is a requirement for applications such as
16<acronym>GDM</acronym> which does not populate the face browser if it
17can't find <filename>/etc/shells</filename> or <acronym>FTP</acronym>
18daemons which traditionally disallow access to users with shells not
19included in this file.</para>
20
21<screen><userinput><command>cat &gt; /etc/shells &lt;&lt; "EOF"</command>
22# Begin /etc/shells
23
24/bin/sh
25/bin/bash
26
27# End /etc/shells
28<command>EOF</command></userinput></screen>
29
30</sect1>
Note: See TracBrowser for help on using the repository browser.