diff options
author | Greg Schafer <greg@linuxfromscratch.org> | 2004-01-14 01:34:43 +0000 |
---|---|---|
committer | Greg Schafer <greg@linuxfromscratch.org> | 2004-01-14 01:34:43 +0000 |
commit | b6f86141768a23c5fbe288ea076d9df8878c23dc (patch) | |
tree | 2908cb75db2a4c15e9147fd1fbcdb69966ae77e7 /chapter06/shadowpwd.xml | |
parent | aba5bfb32ff8cbfa29bcc1b8c3351bec6ce189f2 (diff) |
Moved log file creation from Shadow to "Creating the passwd
and group files" and renamed that section accordingly.
Closes 741.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3166 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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, |