diff options
Diffstat (limited to 'chapter06/shadowpwd.xml')
-rw-r--r-- | chapter06/shadowpwd.xml | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/chapter06/shadowpwd.xml b/chapter06/shadowpwd.xml index 4e8e3aa79..89cfd5d39 100644 --- a/chapter06/shadowpwd.xml +++ b/chapter06/shadowpwd.xml @@ -16,24 +16,6 @@ Estimated required disk space: &shadow-compsize;</screen> <sect2> <title>Installation of Shadow</title> -<para>The <userinput>login</userinput>, <userinput>getty</userinput> and -<userinput>init</userinput> programs (and some others) maintain a number -of logfiles to record who are and who were logged in to the system. These -programs, however, don't create these logfiles when they don't exist, so if -you want this logging to occur you will have to create the files yourself. -The Shadow package needs to detect these files in their proper place, so we -create them now, with their proper permissions:</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>The <filename>/var/run/utmp</filename> file lists the users that are -currently logged in, the <filename>/var/log/wtmp</filename> file who -<emphasis>were</emphasis> logged in and when. -The <filename>/var/log/lastlog</filename> file shows for each user when he -or she last logged in, and the <filename>/var/log/btmp</filename> lists the -bad login attempts.</para> - <para>Shadow hard-wires the path to the <userinput>passwd</userinput> binary within the binary itself, but does this the wrong way. If a <userinput>passwd</userinput> binary is not present before installing Shadow, |