Steven Haryanto wrote:
> masih bingung, siapa culpritnya :p
> 
> -- 
> sh

Betul, lho anda kan sudah jawab sendiri :)

/bin/sh is the culprit
ie. sh -> bash2 (=> rh7.0) vs bash (< rh7.0)

extracted from system(3) manual:

...
Do not use system() from a program with suid or sgid priv-
ileges,  because strange values for some environment vari-
ables might be used to subvert system integrity.  Use  the
exec(3)  family of functions instead, but not execlp(3) or
execvp(3).  system() will not, in fact, work properly from
programs  with suid or sgid privileges on systems on which
/bin/sh is bash version 2, since bash 2  drops  privileges
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
on  startup.   (Debian uses a modified bash which does not
~~~~~~~~~~~
do this when invoked as sh.)
...


-- 
+-R-| Netscape Communicator 4.x |-H-| Powered by Linux 2.4.x |-7-+
|/v\ Agus Budy Wuysang                   MIS Department          |
| |  Phone:  +62-21-344-1316 ext 317     GSM: +62-816-1972-051   |
+------------| http://www.fasw.co.id/person/supes/ |-------------+


-- 
Utk berhenti langganan, kirim email ke [EMAIL PROTECTED]
Informasi arsip di http://www.linux.or.id/milis.php3

Kirim email ke