Re: 'nobody' using sudo -- scary!
- From: Ben Morrow <ben@xxxxxxxxxxxx>
- Date: Thu, 26 Jun 2008 22:43:05 +0100
Quoth Johnny <schafer.dave@xxxxxxxxx>:
Given a perl based web application, running as 'nobody' with a need to
execute some privileged command, what approach is recommended?
Stick the details of what to do in a file somewhere, and run a program
out of root's crontab to check the list and perform the commands.
*Obviously* you will need extremely careful checking of the contents of
that list; you will want to write the root command in Perl, and use
taint mode.
Ben
--
Razors pain you / Rivers are damp
Acids stain you / And drugs cause cramp. [Dorothy Parker]
Guns aren't lawful / Nooses give
Gas smells awful / You might as well live. ben@xxxxxxxxxxxx
.
- Follow-Ups:
- Re: 'nobody' using sudo -- scary!
- From: RedGrittyBrick
- Re: 'nobody' using sudo -- scary!
- References:
- 'nobody' using sudo -- scary!
- From: Johnny
- Re: 'nobody' using sudo -- scary!
- From: Jens Thoms Toerring
- Re: 'nobody' using sudo -- scary!
- From: Johnny
- 'nobody' using sudo -- scary!
- Prev by Date: Redirecting STDOUT under ActivePerl on Windows XP
- Next by Date: Re: Redirecting STDOUT under ActivePerl on Windows XP
- Previous by thread: Re: 'nobody' using sudo -- scary!
- Next by thread: Re: 'nobody' using sudo -- scary!
- Index(es):
Relevant Pages
|