diff options
Diffstat (limited to 'chapter06/shadowpwd-inst.xml')
-rw-r--r-- | chapter06/shadowpwd-inst.xml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml index 7af472138..7873f6974 100644 --- a/chapter06/shadowpwd-inst.xml +++ b/chapter06/shadowpwd-inst.xml @@ -9,14 +9,20 @@ 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>./configure --prefix=/usr && +<para><screen><userinput>./configure --prefix=/usr --enable-shared && make && make install && cd etc && cp limits login.access /etc && sed 's%/var/spool/mail%/var/mail%' login.defs.linux > /etc/login.defs && cd /usr/sbin && -ln -sf vipw vigr</userinput></screen></para> +ln -sf vipw vigr && +rm /bin/vipw && +mv /bin/sg /usr/bin && +cd /lib && +mv libshadow.*a /usr/lib && +cd /usr/lib && +ln -s ../../lib/libshadow.so</userinput></screen></para> </sect2> |