cvs commit: BLFS/BOOK/postlfs/config etcshells.xml

igor at linuxfromscratch.org igor at linuxfromscratch.org
Mon Apr 5 05:11:11 PDT 2004


igor        04/04/05 06:11:11

  Added:       BOOK/postlfs/config etcshells.xml
  Log:
  really adding /etc/shells
  
  Revision  Changes    Path
  1.1                  BLFS/BOOK/postlfs/config/etcshells.xml
  
  Index: etcshells.xml
  ===================================================================
  <sect1 id="postlfs-config-shells">
  <?dbhtml filename="etcshells.html" dir="postlfs"?>
  <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 > /etc/shells << "EOF"</command>
  # Begin /etc/shells
  
  /bin/sh
  /bin/bash
  
  # End /etc/shells
  <command>EOF</command></userinput></screen>
  
  </sect1>
  
  
  



More information about the blfs-book mailing list