Date: Mon, 13 Mar 1995 23:53:20 +0100 (MET) From: roberto@blaise.ibp.fr (Ollivier Robert) To: joerg_wunsch@uriah.heep.sax.de Cc: freebsd-hackers@FreeBSD.org Subject: Re: permissions for route(8) Message-ID: <9503132253.AA04660@blaise.ibp.fr> In-Reply-To: <199503132214.XAA01049@uriah.heep.sax.de> from "J Wunsch" at Mar 13, 95 11:14:07 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> Shouldn't that be ``uid = geteuid()'' instead? (Okay, my script could > use a setuid, but there's no point in evaluating the real UID then.) lpc(8) has the same bug/feature : lpc.c if (c->c_priv && getuid()) { printf("?Privileged command\n"); continue; } -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #1: Mon Mar 6 23:55:18 MET 1995
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9503132253.AA04660>