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

Re: [cobalt-security] running named -u named



On Wed, 20 Jun 2001, Rodolfo J. Paiz wrote:

> At 6/14/01 10:42 PM -0700, you wrote:
> >chown named /var/run/ndc
> >chgrp named /var/run/ndc
> 
> To change both user and group at once:
> 
> chown named.named /var/run/ndc

That would work, but since obviously the person who originally sent this,
don't know about owner and groups (as if he did, i think he could solve it
alone) - so I showed the "there's an owner and a group for the file" way.

 
> > Don't you need to do this recursively (using -R)?

recursively chown a socket?
[shimi@www shimi]$ cd /var/run
[shimi@www run]$ ls -l ndc
srw-------   1 root     root            0 May  8 13:18 ndc

> Rodolfo J. Paiz
> rpaiz@xxxxxxxxxxxxxx
> 

- shimi.