>>>>> "Peter" == Peter Rundle <[EMAIL PROTECTED]> writes:

Peter> Changed system(argv[1]); to execlp(argv[1],argv[2]);

Peter> in the source and now when it runs we see a different result

Peter> $ ./suidexec id Executing Command 'id' uid=501(prundle)
Peter> gid=501(prundle) euid=502(matlab) groups=502(matlab)
Peter> context=user_u:system_r:unconfined_t

So do a setuid(geteuid()) in there...

Peter c
-- 
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