From: Christopher Curtis <ccurtis@ee.fit.edu>
To: axp-list@redhat.com
Subject: SUID scripts?
Date: Thu, 6 Aug 1998 14:42:54 -0400 (EDT) [thread overview]
Message-ID: <Pine.GSO.3.96.980806143814.8059l-100000@yacht.ee.fit.edu> (raw)
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/
next reply other threads:[~1998-08-06 18:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-08-06 18:42 Christopher Curtis [this message]
1998-08-06 18:55 ` SUID scripts? Jeff Sturm
1998-08-07 0:23 ` Mike "Ford" Ditto
1998-08-07 4:03 ` Michal Jaegermann
1998-08-07 11:29 ` cfm
1998-08-08 10:55 ` Christoph Zens
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox