aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/shadowpwd-exp.xml
blob: 924769fffc684cbe6dc53e8da03a051fcc38c1bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<sect2>
<title>Command explanations</title>

<para><userinput>sed 's/\(.*\) (nflg || \(.*\)/\1\(\2/' useradd.c.temp
&gt; src/useradd.c</userinput>: This sed is used to fix a compilation
bug which occurs due to a variable being used but not defined.</para>

<para><userinput>cp limits login.access and others:</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>

</sect2>