glfs/postlfs/config/etcshells.xml
Larry Lawrence bae6e15af9 fix xsl chunk error in PostLFS section
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2105 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-05-06 20:30:53 +00:00

31 lines
1.0 KiB
XML

<sect1 id="postlfs-config-shells">
<?dbhtml filename="etcshells.html"?>
<title>/etc/shells</title>
<para>The <filename>shells</filename> file contains a list of
login shells on the system. Applications use this file to determine
whether a shell is valid. For each shell a single line should be
present, consisting of the shell's path, relative to root.</para>
<para>For example, this file is consulted by <command>chsh</command> to
determine whether a normal user may change the login shell for her
own account. If the command name is not listed, the user will be denied of
change.</para>
<para>It is a requirement for applications such as
<acronym>GDM</acronym> which does not populate the face browser if it
can't find <filename>/etc/shells</filename> or <acronym>FTP</acronym>
daemons which traditionally disallow access to users with shells not
included in this file.</para>
<screen><userinput><command>cat &gt; /etc/shells &lt;&lt; "EOF"</command>
# Begin /etc/shells
/bin/sh
/bin/bash
# End /etc/shells
<command>EOF</command></userinput></screen>
</sect1>