* Why doesn't setuid work?
@ 1996-12-13 19:20 tim
0 siblings, 0 replies; only message in thread
From: tim @ 1996-12-13 19:20 UTC (permalink / raw)
To: tru64-unix-managers
Dumb question time. I checked the man pages, hard-copy manuals, and the
searchable alpha-osf-managers archives at Stanford, but I did not find
an answer.
How come this doesn't work on Digital Unix 3.2 or 4.0:
% cat tim.pl
#!/usr/local/bin/perl
print "ruid=$<\neuid=$>\n";
% ./tim.pl
ruid=434
euid=434
% ls -l tim.pl
-rwsr-xr-x 1 root users 51 Dec 13 14:14 tim.pl
%
...but when I run it on Solaris 2.5.1 it does this:
% ./tim.pl
ruid=434
euid=0
%
Did I miss something here?
Thanks for your reply. I will summarize per usual.
---
Tim Cantin, System and Network Manager, <tcantin@wellesley.edu>
203 Simpson East/IST, Wellesley College, Wellesley, MA 02181-8201
http://www.wellesley.edu/~tim/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-12-13 19:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-12-13 19:20 Why doesn't setuid work? tim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox