Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* SUID scripts?
@ 1998-08-06 18:42 Christopher Curtis
  1998-08-06 18:55 ` Jeff Sturm
  0 siblings, 1 reply; 6+ messages in thread
From: Christopher Curtis @ 1998-08-06 18:42 UTC (permalink / raw)
  To: axp-list

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/


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1998-08-08 10:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-06 18:42 SUID scripts? Christopher Curtis
1998-08-06 18:55 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox