[NTLUG:Discuss] root can not edit hosts.deny file

Steve Baker sjbaker1 at airmail.net
Fri Jun 13 09:29:27 CDT 2003


m m wrote:
> Hi All:
> 
> there is a weird (at least to me) thing happen on my RH 6.2 box.
> 
> I tried to edit the hosts.deny, and get not permission error.
> check it with ls -l
> 
> -rw-r--r-- root root .... hosts.deny
> 
> of course I login as root.
> 
> I can't mv this file to other name either.

Could it be that this is on a disk partition that's mounted read-only?

---------------------------- Steve Baker -------------------------
HomeEmail: <sjbaker1 at airmail.net>    WorkEmail: <sjbaker at link.com>
HomePage : http://www.sjbaker.org
Projects : http://plib.sf.net    http://tuxaqfh.sf.net
            http://tuxkart.sf.net http://prettypoly.sf.net
-----BEGIN GEEK CODE BLOCK-----
GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++
-----END GEEK CODE BLOCK-----




More information about the Discuss mailing list