LDP/LDP/retired/LFS/chapter06/shadowpwd-exp.xml

19 lines
728 B
XML

<sect2>
<title>Command explanations</title>
<para><userinput>cp limits login.access /etc:</userinput> These files
were not installed during the installation of the package so we copy
them manually as those files are used to configure authentication
details on the system.</para>
<para><userinput>sed "s%/var/spool/mail%/var/mail%" login.defs.linux &gt;
/etc/login.defs</userinput>: /var/spool/mail is the old location of the
user mailboxes. The location that is used nowadays is /var/mail.</para>
<para><userinput>ln -s vipw vigr:</userinput> According to the manpage of
vipw, vigr should be a symlink to it. Because the shadow installation
procedure doesn't create these symlinks, we create them manually.</para>
</sect2>