|
Demo
Discussion
|
Forum
Config Examples
Contributions
Vulnerabilities
|
Contributions to ELOG |
Not logged in |
|
|
|
Message ID: 25
Entry time: Mon Jul 16 15:57:47 2007
In reply to: 24
Reply to this: 26
|
Author: |
Stefan Ritt |
Author Email: |
stefan.ritt@psi.ch |
Category: |
Other |
Subject: |
Re: Compiling elogd.c on HP-UX 64 bit |
Status: |
Beta |
Last Revision: |
Thu Jul 12 09:38:47 2007 by Peter Rienstra |
|
|
Peter Rienstra wrote: | HP-UX doesn't have the "seteuid" and "setegid" functions. But there are "setuid+setgid", "setreuid+setregid" and "setresuid+setresgid" functions available. |
I had a look and found that setreuid/setregid is also available under Linux, so I use those functions instead, which should also work on HP-UX. Can you check revision 1888 (http://savannah.psi.ch/viewcvs/trunk/src/elogd.c?root=elog&rev=1888), compile it and see if you can run it at least under your non-root account. |