Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: changing uid/gid in suid cgi script

by ncw (Friar)
on Sep 06, 2001 at 12:11 UTC ( [id://110520]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      use English;
    
  2. or download this
    $( = $) = $new_gid;
    die "Failed to changed groupid to $new_gid: $!"
    ...
    $< = $> = $new_uid;
    die "Failed to changed userid to $new_uid: $!"
        if $> != $new_uid || $< != $new_uid;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-25 15:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found