diff options
Diffstat (limited to 'chapter06/shadowpwd-inst.xml')
-rw-r--r-- | chapter06/shadowpwd-inst.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml index 2cd239541..0d8f8e245 100644 --- a/chapter06/shadowpwd-inst.xml +++ b/chapter06/shadowpwd-inst.xml @@ -9,6 +9,18 @@ regarding passwords, such as how to enable the more secure MD5 passwords and how to get the most out of this Shadow package. The Shadow hint can be found at <ulink url="&hints-root;shadowpasswd_plus.txt"/>.</para> +<para>Programs like login, shutdown, uptime, and others want to read +from and to the /var/run/utmp, /var/log/btmp and /var/log/wtmp. These +files contain information about who is currently logged in. They also +contain information about when the conmputer was last booted and +shutdown and a record of bas login attempts.</para> + +<para>Create these files with their proper permissions by running the +following commands:</para> + +<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> + <para>Prepare Shadow to be compiled:</para> <para><screen><userinput>./configure --prefix=/usr --libdir=/usr/lib \ |