[sudo-users] system (sudo su user)

zze-Projet Etiope AMRANI S ext RD-RESA-ISS samrani.ext at orange-ftgroup.com
Wed Nov 28 12:58:16 EST 2007


hi, 

i have a promram wrote with, this prmoram need to write with different user uid, that wy i use system(sudo su user),  after my prgram shoul keep runing, but it's stop, and i dont how to do to make him run again, 

is there some flags to use,


example :


sprintf(cmd,"sudo su %s", user);
system(cmd);


thank you in adavance      




More information about the sudo-users mailing list