2 <title>Creating the /var/run/utmp, /var/log/wtmp and /var/log/btmp
5 <para>Programs like login, shutdown, uptime and others want to read from and
6 write to the /var/run/utmp /var/log/btmp and /var/log/wtmp. These files contain
7 information about who is currently logged in. It also contains information
8 on when the computer was last booted and shutdown and a record of the
9 bad login attempts.</para>
11 <para>Create these files with their proper permissions by running the
12 following commands:</para>
14 <para><screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} &&
15 chmod 644 /var/run/utmp /var/log/{btmp,lastlog,wtmp}</userinput></screen></para>