home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
CMDS
/
mtools_3.6.src.lzh
/
MTOOLS_3.6
/
privtest.c
< prev
next >
Wrap
C/C++ Source or Header
|
1997-11-12
|
184b
|
10 lines
#include <stdlib.h>
/* this program is used to test whether mtools drops its privileges correctly */
main(int argc, char **argv)
{
setuid(strtoul(argv[1], 0,0));
system("id");
}