Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: An odd failure of setuid(0)

by Llew_Llaw_Gyffes (Scribe)
on Jun 26, 2006 at 00:59 UTC ( [id://557497]=note: print w/replies, xml ) Need Help??


in reply to Re: An odd failure of setuid(0)
in thread An odd failure of setuid(0)

Oh, sorry. setuid() is from POSIX.pm.  I omitted the script header, which includes "use POSIX qw(setuid);"

I actually think maybe I shot myself in the foot here by trying to do setuid operations that were probably unnecessary since I was already running with setuid/setgid bits.  A case of overthinking the problem.

Replies are listed 'Best First'.
Re^3: An odd failure of setuid(0)
by shmem (Chancellor) on Jun 26, 2006 at 01:02 UTC
    Including all relevant parts of a script is always a good idea.. ;-)

    cheers,
    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://557497]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (8)
As of 2024-04-19 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found