From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GmIw8-0004Dj-TU for garchives@archives.gentoo.org; Mon, 20 Nov 2006 23:52:29 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kAKNmsWk032018; Mon, 20 Nov 2006 23:48:54 GMT Received: from sifl.halibutdepot.org (sifl.halibutdepot.org [66.93.10.45]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kAKNjS84019564 for ; Mon, 20 Nov 2006 23:45:28 GMT Received: from localhost (localhost [127.0.0.1]) by sifl.halibutdepot.org (Postfix) with ESMTP id B37093C098 for ; Mon, 20 Nov 2006 18:45:27 -0500 (EST) X-Virus-Scanned: amavisd-new at halibutdepot.org Received: from sifl.halibutdepot.org ([127.0.0.1]) by localhost (sifl.halibutdepot.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id f2Of0FG-kcQP for ; Mon, 20 Nov 2006 18:45:27 -0500 (EST) Received: from becky16.halibutdepot.org (becky16.halibutdepot.org [192.168.42.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sifl.halibutdepot.org (Postfix) with ESMTP id 453B13C077 for ; Mon, 20 Nov 2006 18:45:27 -0500 (EST) Date: Mon, 20 Nov 2006 18:45:27 -0500 (EST) From: Flophouse Joe X-X-Sender: joe@becky16.halibutdepot.org To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Several questions -- various topics In-Reply-To: Message-ID: References: <17CD9CE4C0FA574A8B29EF02D49B385D2A960F@srvexch-01.mcaschool.local> <200611201950.15927.michaelkintzios@gmail.com> <200611210250.23073.mrugeshkarnik@gmail.com> <200611202307.53247.michaelkintzios@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Archives-Salt: 620bb93f-b710-4ee4-a1e5-5013c20fc4f3 X-Archives-Hash: a3241171f3e67a12604645fbb223b31d On Mon, 20 Nov 2006, Flophouse Joe wrote: > If you really needed to run a shell script as root, you could try using > djb's "envuidgid" [1] available in Gentoo package > sys-process/daemontools . I spoke too soon. Corrections: (1) It's actually setuidgid that I was thinking of: http://cr.yp.to/daemontools/setuidgid.html (2) Quoting from the above URL, "setuidgid cannot be run by anyone other than root". If you need to be root to run the utility in the first place, then there's no point in using it to gain root priveleges. Joe -- gentoo-user@gentoo.org mailing list