From owner-freebsd-questions Thu Dec 26 8:18: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D1D3037B401 for ; Thu, 26 Dec 2002 08:18:01 -0800 (PST) Received: from mail.bellavista.cz (mail.bellavista.cz [62.168.44.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id B58E843E4A for ; Thu, 26 Dec 2002 08:18:00 -0800 (PST) (envelope-from neuhauser@bellavista.cz) Received: from freepuppy.bellavista.cz (freepuppy.bellavista.cz [10.0.0.10]) by mail.bellavista.cz (Postfix) with ESMTP id E3503294; Thu, 26 Dec 2002 17:17:53 +0100 (CET) Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 9598E2FDB20; Thu, 26 Dec 2002 17:17:49 +0100 (CET) Date: Thu, 26 Dec 2002 17:17:49 +0100 From: Roman Neuhauser To: Kirk Bailey Cc: "Kevin D. Kinsey, DaleCo, S.P." , david , freebsd-questions@FreeBSD.ORG Subject: Re: Run as owner Message-ID: <20021226161748.GE348@freepuppy.bellavista.cz> Mail-Followup-To: Kirk Bailey , "Kevin D. Kinsey, DaleCo, S.P." , david , freebsd-questions@FreeBSD.ORG References: <3DE83EE1.60400@netzero.net> <200211301028.10083.ph1@cogeco.ca> <05db01c29890$6befb7a0$fa00a8c0@DaleCoportable> <3E0B2A1C.1080503@netzero.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E0B2A1C.1080503@netzero.net> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ___________________ /| /| | | ||__|| | Please do | / O O\__ NOT | / \ toppost | / \ \_________________| / _ \ \ || / |\____\ \ || / | | | |\____/ || / \|_|_|/ | __|| / / \ |____| || / | | /| | --| | | |// |____ --| * _ | |_|_|_| | \-/ *-- _--\ _ \ // | / _ \\ _ // | / * / \_ /- | - | | * ___ c_c_c_C/ \C_c_c_c____________ # idiot1@netzero.net / 2002-12-26 11:11:08 -0500: > Kevin D. Kinsey, DaleCo, S.P. wrote: > >From: "david" > >Subject: Re: Run as owner > > > >On Friday 29 November 2002 23:30, Kirk Bailey wrote: > >>OK, man says to get a script to run as the owner, turn on the 4000 > >>bit. > > > >>OK, I did. No such luck, it continues to run as the apache identity > >>'nobody'. > > > >david: I'm just wondering, why is this a problem? > > > >I believe it's 'cuz he wants the script to build or destroy > >/etc/mail/aliases......check out some earlier posts under > >different thread names, perhaps. > > Nope, I wrote a script that simply wran ID as a command and printed the > result, and ran it as my id of howlermo, although it was owned by root. It > wran as howlermo. I then ran it as grumpy. It ran as grumpy. I then ran it > as su, it ran as su. Permission was 755, so anyone could run it, and w > hoever ran it, it ran as; it assumes the id of the person running it. > Hmmm... scripts cannot be set{u,g}id -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message