diff options
Diffstat (limited to 'chapter06/shadowpwd-inst.xml')
-rw-r--r-- | chapter06/shadowpwd-inst.xml | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml index b052cc646..ae75a25b7 100644 --- a/chapter06/shadowpwd-inst.xml +++ b/chapter06/shadowpwd-inst.xml @@ -9,22 +9,22 @@ passwords and how to get the most out of this Shadow package.</para> <para>Install the Shadow Password Suite by running the following commands:</para> -<para><screen><userinput>cp src/useradd.c src/useradd.c.backup &&</userinput> -<userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' \</userinput> -<userinput> src/useradd.c > tmp~ &&</userinput> -<userinput>mv tmp~ src/useradd.c &&</userinput> -<userinput>./configure --prefix=/usr &&</userinput> -<userinput>make &&</userinput> -<userinput>make install &&</userinput> -<userinput>cd etc &&</userinput> -<userinput>cp limits login.access /etc &&</userinput> -<userinput>sed 's%/var/spool/mail%/var/mail%' login.defs.linux > /etc/login.defs &&</userinput> -<userinput>cd /lib &&</userinput> -<userinput>mv libshadow.a /usr/lib &&</userinput> -<userinput>mv libshadow.la /usr/lib &&</userinput> -<userinput>ln -sf libshadow.so.0 libshadow.so &&</userinput> -<userinput>cd /usr/lib &&</userinput> -<userinput>ln -sf ../../lib/libshadow.so</userinput></screen></para> +<para><screen><userinput>cp src/useradd.c src/useradd.c.backup && +sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' \ + src/useradd.c > tmp~ && +mv tmp~ src/useradd.c && +./configure --prefix=/usr && +make && +make install && +cd etc && +cp limits login.access /etc && +sed 's%/var/spool/mail%/var/mail%' login.defs.linux > /etc/login.defs && +cd /lib && +mv libshadow.a /usr/lib && +mv libshadow.la /usr/lib && +ln -sf libshadow.so.0 libshadow.so && +cd /usr/lib && +ln -sf ../../lib/libshadow.so</userinput></screen></para> </sect2> |