Can somebody tell me why I can't write to /etc/hosts.deny or
/etc/hosts.allow? As root I get readonly when I open them with vi and
can't force the write using :w! The permissions look right :
-rw-r--r-- 1 root root 161 Jul 21 2000 hosts.allow
-rw-r--r-- 1 root root 347 Jul 21 2000 hosts.deny
If I try to remove either one I get :
rm -f hosts.deny
rm: cannot unlink `hosts.deny': Operation not permitted
It also won't allow me to change the permissions, mv them.......
I can't find any links to it using symlinks. I'm stumped. Do I need to
stop all processes that use these files, then change them and then
restart the processes? If so what processes use them apart from the
nfs-related ones (rpc.statd and so on)?
All this on a RedHat 6.2 installation running on a remote machine which
I ssh into as a regular user and then su to root.