Re: 'nobody' using sudo -- scary!
- From: Big and Blue <No_4@xxxxxxxxxxxxx>
- Date: Fri, 27 Jun 2008 22:58:45 +0100
RedGrittyBrick wrote:
Jens Thoms Toerring wrote:
for i in `ls -a /home/*/.forward`; do rm $i; done
Isn't that the same as
rm home/*/.forward
Neither of which would necessarily work if /home were an automount point, as "*" won't expand (and if it did, could have > 15000 matches in at least one case I know of, which is why you wouldn't want it to expand).
The real question the OP should be asking himself is why such a task is running as nobody anyway. It is not a task an anonymous account should be doing at all. i.e. the answer is to start somewhere else, earlier in the chain for a solution - by the time "nobody" is involved it's too late.
But it's definitely nothing to do with Perl.
--
Just because I've written it doesn't mean that
either you or I have to believe it.
.
- Follow-Ups:
- how do prlglobs expand (was Re: 'nobody' using sudo -- scary!)
- From: nntpman68
- how do prlglobs expand (was 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: RedGrittyBrick
- 'nobody' using sudo -- scary!
- Prev by Date: Re: Simplest way (or module) to tweak query in CGI server-side validation
- Next by Date: Re: run application from perl nonblocking?
- Previous by thread: Re: 'nobody' using sudo -- scary!
- Next by thread: how do prlglobs expand (was Re: 'nobody' using sudo -- scary!)
- Index(es):
Relevant Pages
|