/ hi group,

/ i created a output file from a C program and changed
/ its(the executables) permissions using chmod to
/ rwsr_xr_x(i.e.,4755).Then i logged in as a normal user
/ and then ran the executable.Now how could i find out
/ whether the user id changes to that of root id on
/ execution of that executable.

RTFM
man getuid,  geteuid


--yogesh




-- 
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to