Peter Chubb wrote:
So do a setuid(geteuid()) in there...

Que? I don't follow, do you mean the "C" should look like;

 setuid(geteuid());
 execlp(argv[1],argv[2]);

??

I tried the above, but no joy, "./suidexec id" still reports

uid=501(prundle) gid=501(prundle) euid=502(matlab)


P.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to