From owner-freebsd-arch Sat Sep 2 12:53: 3 2000 Delivered-To: freebsd-arch@freebsd.org Received: from critter.freebsd.dk (flutter.freebsd.dk [212.242.40.147]) by hub.freebsd.org (Postfix) with ESMTP id 62BD037B422; Sat, 2 Sep 2000 12:53:00 -0700 (PDT) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.0/8.9.3) with ESMTP id e82JqsN41584; Sat, 2 Sep 2000 21:52:54 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: sthaug@nethelp.no Cc: n@nectar.com, ume@FreeBSD.ORG, arch@FreeBSD.ORG Subject: Re: Request for review: nsswitch In-Reply-To: Your message of "Sat, 02 Sep 2000 20:06:06 +0200." <61643.967917966@verdi.nethelp.no> Date: Sat, 02 Sep 2000 21:52:54 +0200 Message-ID: <41582.967924374@critter> From: Poul-Henning Kamp Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <61643.967917966@verdi.nethelp.no>, sthaug@nethelp.no writes: > >The mechanism already exists. See libc/net/res_query.c, the hostalias() >routine: Cool! >As you can see, it is explicitly disabled for setuid programs. It works >for ssh as soon as you make ssh non-setuid (which I think is a good idea >in any case...) Why would ssh need to be setuid ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD coreteam member | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message