[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-misc
Subject:    Re: perl script, permission denied
From:       "Todd C. Miller" <Todd.Miller () courtesan ! com>
Date:       2003-01-31 17:29:10
[Download RAW message or body]

route(8) checks the real uid, not the effective uid.  If you make
your perl script set the real uid to the effective it will work.

I would expect the following to work:
    $< = $>;

If not, you can use POSIX::setuid()

 - todd

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic