From owner-freebsd-questions Tue Mar 11 6:23: 2 2003 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 DC7C037B401 for ; Tue, 11 Mar 2003 06:23:00 -0800 (PST) Received: from spxgate.servplex.com (ip66-105-58-82.z58-105-66.customer.algx.net [66.105.58.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id E70AB43F93 for ; Tue, 11 Mar 2003 06:22:59 -0800 (PST) (envelope-from peter@servplex.com) Received: from peter.servplex.com ([192.168.0.96]) by spxgate.servplex.com (8.12.8/8.12.6) with ESMTP id h2BEYLiA033949; Tue, 11 Mar 2003 08:34:21 -0600 (CST) (envelope-from peter@servplex.com) Message-Id: <5.2.0.9.2.20030311082245.00bc2eb8@mail.servplex.com> X-Sender: peter@mail.servplex.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Tue, 11 Mar 2003 08:23:13 -0600 To: Paul Lathrop From: Peter Elsner Subject: Re: suid shell script Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <327C6D9F-5384-11D7-9C72-000393BF3DE2@mqtweb.com> References: <20030311052835.GA65690@grimoire.chen.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 One creates the script, places it in /usr/local/bin (for example), and runs it via a root CRONTAB entry. At 12:42 AM 3/11/2003 -0500, you wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >On Tuesday, March 11, 2003, at 12:28 AM, Jonathan Chen wrote: >> >>Dunno about Linux, but every other modern UNIX out there doesn't allow >>setuid scripts. > >Thanks for your response. Now my question is - how does one automate tasks >requiring root privileges? > >Paul Lathrop >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.2.1 (Darwin) > >iD8DBQE+bXczlos2supvBQwRApNCAJ4hBh/IW04wPaNl/dYQ97elF2OzIwCfecdP >Twx+Q8robLPf47PCbCsn0HU= >=HKrj >-----END PGP SIGNATURE----- > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message ---------------------------------------------------------------------------------------------------------- Peter Elsner Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone (425) 988-8061 - eFax I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say "Daddy, where were you when they took freedom of the press away from the Internet?" -- Mike Godwin Unix IS user friendly... It's just selective about who its friends are. System Administration - It's a dirty job, but somebody said I had to do it. If you receive something that says 'Send this to everyone you know, pretend you don't know me. Standard $500/message proofreading fee applies for UCE. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message