Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2003 08:23:13 -0600
From:      Peter Elsner <peter@servplex.com>
To:        Paul Lathrop <plathrop@mqtweb.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: suid shell script
Message-ID:  <5.2.0.9.2.20030311082245.00bc2eb8@mail.servplex.com>
In-Reply-To: <327C6D9F-5384-11D7-9C72-000393BF3DE2@mqtweb.com>
References:  <20030311052835.GA65690@grimoire.chen.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <peter@servplex.com>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.2.0.9.2.20030311082245.00bc2eb8>