[lfs-book] r10788 - in trunk/BOOK: . chapter01 chapter07

bdubbs at higgs.linuxfromscratch.org bdubbs at higgs.linuxfromscratch.org
Mon Nov 3 11:10:11 PST 2014


Author: bdubbs
Date: Mon Nov  3 11:10:11 2014
New Revision: 10788

Log:
Move the page concerning /etc/shells from BLFS to LFS Chapter 7.

Added:
   trunk/BOOK/chapter07/etcshells.xml   (contents, props changed)
Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter07/chapter07.xml
   trunk/BOOK/general.ent

Modified: trunk/BOOK/chapter01/changelog.xml
==============================================================================
--- trunk/BOOK/chapter01/changelog.xml	Sat Nov  1 14:02:42 2014	(r10787)
+++ trunk/BOOK/chapter01/changelog.xml	Mon Nov  3 11:10:11 2014	(r10788)
@@ -39,6 +39,17 @@
       <para>2014-11-01</para>
       <itemizedlist>
         <listitem>
+          <para>[bdubbs] - Move the page concerning /etc/shells
+          from BLFS to LFS Chapter 7. Fixes 
+          <ulink url="&lfs-ticket-root;3705">#3705</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
+      <para>2014-11-01</para>
+      <itemizedlist>
+        <listitem>
           <para>[bdubbs] - Update to linux-3.17.2. Fixes 
           <ulink url="&lfs-ticket-root;3704">#3704</ulink>.</para>
         </listitem>

Modified: trunk/BOOK/chapter07/chapter07.xml
==============================================================================
--- trunk/BOOK/chapter07/chapter07.xml	Sat Nov  1 14:02:42 2014	(r10787)
+++ trunk/BOOK/chapter07/chapter07.xml	Mon Nov  3 11:10:11 2014	(r10788)
@@ -26,5 +26,6 @@
 <!--  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="site.xml"/>-->
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="profile.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="inputrc.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="etcshells.xml"/>
 
 </chapter>

Added: trunk/BOOK/chapter07/etcshells.xml
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/BOOK/chapter07/etcshells.xml	Mon Nov  3 11:10:11 2014	(r10788)
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE part PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-config-shells" xreflabel="Creating the /etc/shells File">
+  <?dbhtml filename="etcshells.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy: randy $</othername>
+    <date>$Date: 2007-04-04 14:42:53 -0500 (Wed, 04 Apr 2007) $</date>
+  </sect1info>
+
+  <title>Creating the /etc/shells File</title>
+
+  <indexterm zone="ch-config-shells">
+    <primary sortas="e-etc-shells">/etc/shells</primary>
+  </indexterm>
+
+  <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 the root of the
+  directory structure (/).</para>
+
+  <para>For example, this file is consulted by <command>chsh</command>
+  to determine whether an unprivileged 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
+  <application>GDM</application> which does not populate the
+  face browser if it can't find <filename>/etc/shells</filename>, or
+  FTP daemons which traditionally disallow access to users
+  with shells not included in this file.</para>
+
+<screen role="root"><userinput>cat > /etc/shells << "EOF"
+<literal># Begin /etc/shells
+
+/bin/sh
+/bin/bash
+
+# End /etc/shells</literal>
+EOF</userinput></screen>
+
+</sect1>

Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent	Sat Nov  1 14:02:42 2014	(r10787)
+++ trunk/BOOK/general.ent	Mon Nov  3 11:10:11 2014	(r10788)
@@ -1,6 +1,6 @@
-<!ENTITY version         "SVN-20141101">
+<!ENTITY version         "SVN-20141103">
 <!ENTITY short-version   "svn">  <!-- Used in dbus chapter, change to x.y for release -->
-<!ENTITY releasedate     "November 1, 2014">
+<!ENTITY releasedate     "November 3, 2014">
 <!ENTITY copyrightdate   "1999-2014"><!-- jhalfs needs a literal dash, not – -->
 <!ENTITY milestone       "7.7">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->


More information about the lfs-book mailing list