From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 23667 invoked from network); 6 Aug 1998 18:44:40 -0000 Received: from winnie.fit.edu (163.118.5.1) by mail2.redhat.com with SMTP; 6 Aug 1998 18:44:40 -0000 Received: from ee.fit.edu (yacht.ee.fit.edu [163.118.30.1]) by winnie.fit.edu (8.8.7/8.8.7) with SMTP id OAA16092 for ; Thu, 6 Aug 1998 14:39:12 -0400 (EDT) Received: from localhost by ee.fit.edu (SMI-8.6/SMI-SVR4) id OAA00738; Thu, 6 Aug 1998 14:42:54 -0400 Date: Thu, 6 Aug 1998 14:42:54 -0400 (EDT) From: Christopher Curtis To: axp-list@redhat.com Subject: SUID scripts? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I'm trying to write a SUID shellscript, but am having problems. The script: ----------------------------------------------------------------------- #!/bin/sh echo $UID echo $EUID ----------------------------------------------------------------------- The perms: -rwsrwx--- 1 root www 1521 Aug 6 14:40 cd-share The filesystem: /dev/sda5 /usr ext2 defaults 1 2 The output: ----------------------------------------------------------------------- 308 308 ----------------------------------------------------------------------- Is there something here that I'm totally missing? Redhat 4.2 -- Christopher Curtis - http://www.ee.fit.edu/users/ccurtis Florida Institute of Technology - System Administrator, Programmer Melbourne, Florida USA - http://www.lp.org/