diff options
Diffstat (limited to 'chapter06/shadowpwd-inst.xml')
-rw-r--r-- | chapter06/shadowpwd-inst.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml index ba30a1a46..57a4266c4 100644 --- a/chapter06/shadowpwd-inst.xml +++ b/chapter06/shadowpwd-inst.xml @@ -18,7 +18,7 @@ shutdown and a record of bas login attempts.</para> <para>Create these files with their proper permissions by running the following commands:</para> -<para><screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} && +<para><screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} chmod 644 /var/run/utmp /var/log/{btmp,lastlog,wtmp}</userinput></screen></para> <para>Shadow hard-codes the path to the passwd binary within itself, but @@ -84,7 +84,7 @@ find them in them in the <filename class="directory">/usr/lib</filename> directory. To account for this, create the following symlinks:</para> -<para><screen><userinput>ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so && +<para><screen><userinput>ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so ln -sf ../../lib/libmisc.so.0 /usr/lib/libmisc.so</userinput></screen></para> <para>Sh-utils and Shadow Password Suite each install a unique |