diff options
Diffstat (limited to 'chapter06/shadowpwd-inst.xml')
-rw-r--r-- | chapter06/shadowpwd-inst.xml | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml index e8a492b30..7f0a448c5 100644 --- a/chapter06/shadowpwd-inst.xml +++ b/chapter06/shadowpwd-inst.xml @@ -12,17 +12,14 @@ following commands:</para> <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 && +cp etc/{limits,login.access} /etc && +sed 's%/var/spool/mail%/var/mail%' \ + etc/login.defs.linux > /etc/login.defs && +ln -sf vipw /usr/bin/vigr && rm /bin/vipw && mv /bin/sg /usr/bin && -cd /lib && -mv libmisc.*a libshadow.*a /usr/lib && -cd /usr/lib && -ln -s ../../lib/libshadow.so</userinput></screen></para> +mv /lib/{libmisc.*a,libshadow.*a} /usr/lib && +ln -s ../../lib/libshadow.so /usr/lib</userinput></screen></para> </sect2> |