Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Apr 2003 22:27:42 -0800
From:      Lev Walkin <vlm@netli.com>
To:        Andreas Klemm <andreas@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: ipcad 2.8.1 bug: doesn't run with uid 0 which is needed for rsh
Message-ID:  <3E8BD45E.4030401@netli.com>
In-Reply-To: <20030403054342.GA3051@titan.klemm.apsfilter.org>
References:  <20030402072143.GA78425@titan.klemm.apsfilter.org> <3E8B74F2.9020704@netli.com> <20030403054342.GA3051@titan.klemm.apsfilter.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Andreas Klemm wrote:
> On Wed, Apr 02, 2003 at 03:40:34PM -0800, Lev Walkin wrote:
> 
>>Actually, it is enough just to run it as root and not uncomment
>>the uid and gid settings. In this case, ipcad just wouldn't drop
>>its privileges!
>>
>>
>>>See my patch, which fixes it.
>>
>>Patch applied, but considered useless. I am always running ipcad
>>as root on all of my systems without any patches.
> 
> 
> useless ?????
> 
> I read your manuals how to configure it.
> 
> Your example config file (an perhaps manual as well,
> dont remember exactly) tell me that uid 0 has to be
> configured, so that rsh runs.

=== quote ===
Set this uid to be safe in the long run. Please change it if you're
aware  of the consequences. RSH service will NOT work if process is
not privileged.
=== quote ===

There are no words about configuring uid 0.

Moreover, the sample configuration has uid and gid lines COMMENTED OUT.


> When doing so ipcad refuses to start !
> 
> It costed me over an hour of troubleshooting fixing and
> documenting for you and finding the best way to fix the port
> when I next trapped over the bison problem.
> 
> And you tell me, the patch is useless ? *sigh*

I've already said that I've applied the patch.
Thank you for the effort, anyway.
My point was that there is nothing that couldn't be done
without the patch.

> come on, everybody who reads the config file and
> wants to use rsh functionality traps into this
> bug !! Or he doesn't read the docu accordingly.
> 
> Currently your programs documentation and the
> program itself are not in sync, causing errors
> when configuring things properly.



-- 
Lev Walkin
vlm@netli.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E8BD45E.4030401>