From owner-freebsd-ports@FreeBSD.ORG Thu Apr 3 13:02:28 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 261A137B401 for ; Thu, 3 Apr 2003 13:02:28 -0800 (PST) Received: from ints.mail.pike.ru (ints.mail.pike.ru [195.9.45.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5FFC43F85 for ; Thu, 3 Apr 2003 13:02:26 -0800 (PST) (envelope-from babolo@cicuta.babolo.ru) Received: (qmail 22869 invoked from network); 3 Apr 2003 21:18:56 -0000 Received: from babolo.ru (HELO cicuta.babolo.ru) (194.58.226.160) by ints.mail.pike.ru with SMTP; 3 Apr 2003 21:18:56 -0000 Received: (nullmailer pid 818 invoked by uid 136); Thu, 03 Apr 2003 21:05:06 -0000 X-ELM-OSV: (Our standard violations) hdr-charset=KOI8-R; no-hdr-encoding=1 In-Reply-To: <3E8BD45E.4030401@netli.com> To: Lev Walkin Date: Fri, 4 Apr 2003 01:05:06 +0400 (MSD) From: "."@babolo.ru X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <1049403906.268048.817.nullmailer@cicuta.babolo.ru> cc: ports@freebsd.org Subject: Re: ipcad 2.8.1 bug: doesn't run with uid 0 which is needed for rsh X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2003 21:02:28 -0000 > 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. I do not understand, why uid is artificially restricted at 65535? Why not full 32 bit uid?