Re: /dev/null permission changes figured out

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux