On Tue, 6 Dec 2005, Alex 'CAVE' Cernat wrote:
program in c care face suid si dupa aia exec pe scriptul respectiv, ce pot sa-i mai fac fara sa ma complic prea mult ?
Ori faci un program in C pe care-l seduidezi si faci acolo setuid(uid-ul_care_te_inteseaza) (eventual setgid()); si din acel program C faci system("/path/to/bash/script") ori sudo.
-- Any views or opinions presented within this e-mail are solely those of the author and do not necessarily represent those of any company, unless otherwise expressly stated. _______________________________________________ RLUG mailing list [email protected] http://lists.lug.ro/mailman/listinfo/rlug
