Hi all,

Thank you for the answer. At least I know what the problem is. I am 
running bash. When I start up with out it everything works out great. 
I tried loading bash at the end but had the same problem. I think 
that what is happening is that /bin/sh in the scripts points to 
/bin/bash. I will try changing the scrips to /bin/ash and see what 
happens. That will have to wait till tomorrow though. I will let you 
know how it goes.

Thanks again, Robert


>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


-- 
Unix is a lot more complicated of course -- the typical Unix hacker 
never can remember what the PRINT command is called this week -- but 
when it gets right down to it, Unix is a glorified video game.
-Ed Post, "Real Programmers Don't Use Pascal"

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

Reply via email to