source: postlfs/config/etcshells.xml@ 9a639a3

v5_1-pre1
Last change on this file since 9a639a3 was bae6e15, checked in by Larry Lawrence <larry@…>, 20 years ago

fix xsl chunk error in PostLFS section

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

  • Property mode set to 100644
File size: 1.0 KB
Line 
1<sect1 id="postlfs-config-shells">
2<?dbhtml filename="etcshells.html"?>
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.