Bladeren bron

Renaming the Shadow files to match the package name.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3228 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Alex Gronenwoud 21 jaren geleden
bovenliggende
commit
2309b72d44

+ 0 - 0
appendixa/shadowpwd-dep.xml → appendixa/shadow-dep.xml


+ 0 - 0
appendixa/shadowpwd-desc.xml → appendixa/shadow-desc.xml


+ 0 - 0
appendixa/shadowpwd-down.xml → appendixa/shadow-down.xml


+ 0 - 0
appendixa/shadowpwd-shortdesc.xml → appendixa/shadow-shortdesc.xml


+ 1 - 1
chapter06/chapter06.xml

@@ -437,7 +437,7 @@ Most likely something went wrong with the specs file amendment above.</para>
 &c6-procinfo;
 &c6-procps;
 &c6-psmisc;
-&c6-shadowpwd;
+&c6-shadow;
 &c6-sysklogd;
 &c6-sysvinit;
 &c6-tar;

+ 0 - 29
chapter06/config-shadowpwd.xml

@@ -1,29 +0,0 @@
-<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
-
-<sect2><title>Configuring Shadow</title>
-
-<para>This package contains utilities to modify users' passwords, add
-or delete users and groups, and the like. We're not going to explain what
-'password shadowing' means. A full explanation can be found in the
-<filename>doc/HOWTO</filename>
-file within the unpacked Shadow source tree. There's one 
-thing to keep in mind if you decide to use Shadow support: programs that
-need to verify passwords (for example xdm, ftp daemons, pop3 daemons) need
-to be 'shadow-compliant', that is they need to be able to work with 
-shadowed passwords.</para>
-
-<para>To enable shadowed passwords, run the following command:</para>
-
-<screen><userinput>/usr/sbin/pwconv</userinput></screen>
-
-<para>And to enable shadowed group passwords, run the following
-command:</para>
-
-<screen><userinput>/usr/sbin/grpconv</userinput></screen>
-
-<para>Under normal circumstances, you won't have created any passwords yet.
-However, if returning to this section to enable shadowing, you should reset any
-current user passwords with the <command>passwd</command> command or any
-group passwords with the <command>gpasswd</command> command.</para>
-</sect2>
-

+ 0 - 10
chapter06/create-password.xml

@@ -1,10 +0,0 @@
-<sect2>
-<title>Setting the root password</title>
-
-<para>Choose a password for user root and set it by running the following
-command:</para>
-
-<screen><userinput>passwd root</userinput></screen>
-
-</sect2>
-

+ 42 - 7
chapter06/shadowpwd.xml → chapter06/shadow.xml

@@ -8,8 +8,8 @@ way.</para>
 <screen>&buildtime; &shadow-time;
 &diskspace; &shadow-compsize;</screen>
 
-&aa-shadowpwd-down;
-&aa-shadowpwd-dep;
+&aa-shadow-down;
+&aa-shadow-dep;
 
 <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
 
@@ -50,7 +50,7 @@ system. Install these two config files:</para>
 <screen><userinput>cp etc/{limits,login.access} /etc</userinput></screen>
 
 <para>We want to change the password method to enable MD5 passwords which are
-theoretically more secure than the default "crypt" method and also allow
+theoretically more secure than the default crypt method and also allow
 password lengths greater than 8 characters. We also need to change the old
 <filename class="directory">/var/spool/mail</filename> location for user
 mailboxes to the current location at
@@ -92,11 +92,46 @@ Shadow:</para>
 
 </sect2>
 
-&c6-cf-shadowpwd;
-&c6-cf-password;
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
+<sect2><title>Configuring Shadow</title>
+
+<para>This package contains utilities to modify users' passwords, add
+or delete users and groups, and the like. We're not going to explain what
+'password shadowing' means. A full explanation can be found in the
+<filename>doc/HOWTO</filename>
+file within the unpacked Shadow source tree. There's one 
+thing to keep in mind if you decide to use Shadow support: programs that
+need to verify passwords (for example xdm, ftp daemons, pop3 daemons) need
+to be 'shadow-compliant', that is they need to be able to work with 
+shadowed passwords.</para>
+
+<para>To enable shadowed passwords, run the following command:</para>
+
+<screen><userinput>/usr/sbin/pwconv</userinput></screen>
+
+<para>And to enable shadowed group passwords, run the following
+command:</para>
+
+<screen><userinput>/usr/sbin/grpconv</userinput></screen>
+
+<para>Under normal circumstances, you won't have created any passwords yet.
+However, if returning to this section to enable shadowing, you should reset any
+current user passwords with the <command>passwd</command> command or any
+group passwords with the <command>gpasswd</command> command.</para>
+</sect2>
+
+<sect2>
+<title>Setting the root password</title>
+
+<para>Choose a password for user root and set it via:</para>
+
+<screen><userinput>passwd root</userinput></screen>
+
+</sect2>
 
-&aa-shadowpwd-shortdesc;
-&aa-shadowpwd-desc;
+&aa-shadow-shortdesc;
+&aa-shadow-desc;
 
 </sect1>
 

+ 5 - 6
entities/shadow.ent

@@ -1,10 +1,9 @@
-<!ENTITY c6-shadowpwd SYSTEM "../chapter06/shadowpwd.xml">
-<!ENTITY c6-cf-shadowpwd SYSTEM "../chapter06/config-shadowpwd.xml">
+<!ENTITY c6-shadow SYSTEM "../chapter06/shadow.xml">
 
-<!ENTITY aa-shadowpwd-shortdesc SYSTEM "../appendixa/shadowpwd-shortdesc.xml">
-<!ENTITY aa-shadowpwd-desc SYSTEM "../appendixa/shadowpwd-desc.xml">
-<!ENTITY aa-shadowpwd-dep SYSTEM "../appendixa/shadowpwd-dep.xml">
-<!ENTITY aa-shadowpwd-down SYSTEM "../appendixa/shadowpwd-down.xml">
+<!ENTITY aa-shadow-shortdesc SYSTEM "../appendixa/shadow-shortdesc.xml">
+<!ENTITY aa-shadow-desc SYSTEM "../appendixa/shadow-desc.xml">
+<!ENTITY aa-shadow-dep SYSTEM "../appendixa/shadow-dep.xml">
+<!ENTITY aa-shadow-down SYSTEM "../appendixa/shadow-down.xml">
 
 <!ENTITY shadow-version "4.0.4.1">
 <!ENTITY shadow-depversion "4.0.4.1">