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

RE: [cobalt-users] regarding named running as root after pkg update...



On Sat, 24 Mar 2001 rpaiz@xxxxxxxxxxxxxx wrote:

> > I tried the suggestions running BIND as user named, but on my
> > RaQ3 there's no user named. Can I just "adduser named" and then
> > run BIND under that user?
> 
> Yes, you can.
> 
> useradd named
> groupadd named
> 
> Then run named as named in group named.
> 
> > In other words: Whats the correct procedure to achieve this?

No, this adds a named user with a shell and a password, you don't really
want that, it has no need...

be more restrictive..

useradd -c "Named" -u 25   -s /bin/false -r -d /etc/named named 

eg: make a named user with no shell, that starts in /etc/named with no
possible home directory and no usable password as UID 25...

(Ps: i unabashedly swiped that line from the raq2 install script ;)

gsh