[CentOS] /dev/null permission changes figured out

Stephen Harris lists at spuddy.org
Thu Dec 16 21:11:04 UTC 2010


On Thu, Dec 16, 2010 at 11:17:22AM -0800, Benjamin Franz wrote:

> The man page for lastb says if you just complete delete /var/log/btmp 
> the system shouldn't recreate it on its own.

And if, for some reason, the system _does_ try to recreate then you
could use mknod to make it a device node that matches /dev/null
eg
  mknod /var/log/btmp c 1 3

-- 

rgds
Stephen



More information about the CentOS mailing list