john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

Linux btmp is missing

btmp is missing

Many startup and login programs use system log files to record who did what when...

e.g. login, agetty, and init

HOWEVER, because these files are generally in /var/log and are ROOT ONLY for security, the programs will only use them if they already exist (ie won't create them)...

touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} chgrp -v utmp /var/run/utmp /var/log/lastlog chmod -v 664 /var/run/utmp /var/log/lastlog


  • « Win CE to Windows XP quitbutton
  • php database mysql tutorial »

Published

Mar 19, 2010

Category

linux

~64 words

Tags

  • btmp 1
  • is 5
  • linux 249
  • missing 4