Re: 'nobody' using sudo -- scary!



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.
.



Relevant Pages

  • Re: Dear John:
    ... That's the real question for the ootem party platform. ... Most that I shoot with save money by reloading, ... smoke and no smell of gunpowder. ... Nobody was killed, nobody was even hurt, and nobody's property was ...
    (rec.scuba)
  • Re: "Justify" doesnt seem to be working for me on Word 2003
    ... Nobody likes the current version of Help. ... Word MVP FAQ site: http://word.mvps.org ... I tried searching "Distribute ... > expand, again and again. ...
    (microsoft.public.word.newusers)
  • Re: Firefox "Save As" Dialog ?
    ... On Mon, 2005-17-01 at 16:30 +0000, Paul Howarth wrote: ... > I think the point was that nobody had actually said what they didn't ... have to click on "Browse for other folders" to expand the window so that ... it includes a real file dialogue. ...
    (Fedora)
  • Re: Lyme in Law and Order...
    ... Nobody knows you and cares ... The real question is why Kathleen is still posting ...
    (sci.med.diseases.lyme)
  • Is dsl technology getting better?
    ... Is dsl technology getting any better reguarding distance from the ... I am a half mile too far and nobody seems to know if this ... will expand some day. ...
    (comp.dcom.xdsl)