On Sat, 06 Apr 2002 16:21:23 -0800
"Robert Williams" <[EMAIL PROTECTED]> wrote:

> Hi all,
> I just added another computer to my network and decide to install 
> tinydns instead of updating all of those host files. I am using DS CD 
> 1.2. However tinydns doesn't seem to work. I am using it straight out 
> of the box. the only changes I have made was to add entries to the 
> "/etc/tinydns-private/root/data". I am sure I am missing something 
> incredibly simple, but if you could point it out to me I would 
> sincerely appreciate it.
> 
> Thanks Robert
> 
> firewall: /root # svi tinydns restart
> /etc/init.d/tinydns: UID: readonly variable

Are you using bash as your shell?  In ash, UID isn't a readonly variable. 
In bash, it is.  I had to use daemontls.lrp to start my dnscache on Bering
when I switched my shell to bash.  It may be the same problem you are
having.  The only other way I know to get UID to be set to something else
(which it needs to be to have any of the djb tools run as their proper
user instead of root) is to use su or something like it (envuidgid - part
of the bering daemontls.lrp package) to actually change the user before
the program is run.  The djb stuff expects the UID environment variable to
be set to the user it is supposed to run as.

Thanks,
Chad Carr

_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to