aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/etcshells.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2020-06-16 11:56:28 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2020-06-16 11:56:28 +0000
commit675606bde2ba53946537b42a5aa576692a311621 (patch)
treeaf20c20ce3841c16b24d0b9903af6878a4a0f5a6 /chapter07/etcshells.xml
parent560065f976e371779928dbf8b9428217f3f57331 (diff)
parent1cd59612d00603c9ce773ad821a15d20bc4fa0b7 (diff)
Split Chapter 5 into three separate chapters.
Implement a new method of cross-building the LFS tool chain and other tools to simplify the method of isolating the new system from the original host. This will be the start of LFS-10.0. Move old trunk/BOOK to branches/old-trunk. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11946 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/etcshells.xml')
-rw-r--r--chapter07/etcshells.xml49
1 files changed, 0 insertions, 49 deletions
diff --git a/chapter07/etcshells.xml b/chapter07/etcshells.xml
deleted file mode 100644
index 30961c80c..000000000
--- a/chapter07/etcshells.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<?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$</othername>
- <date>$Date$</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 &gt; /etc/shells &lt;&lt; "EOF"
-<literal># Begin /etc/shells
-
-/bin/sh
-/bin/bash
-
-# End /etc/shells</literal>
-EOF</userinput></screen>
-
-</sect1>