Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Ori Tzoran <ori_tz@netvision.net.il>
Subject: setuid script on DUX 4.0D: why doesnt work?
Date: 1999/02/06	[thread overview]
Message-ID: <36BB71DC.2D7149B8@netvision.net.il> (raw)

hello,

the following doesn't work:

#!/sbin/sh
# test suid
id -u
ps -f -p $$
exit 0

ls -l test.suid
-r-sr-x--x ... root system test.suid

attempt to run as user "ori" (uid = 123) gives:
123
USER   PID  PPID ...    COMMAND
ori   1234  988  ....   sh test.suid

tried man on sh(1b), sh(1p), setuid(2) etc: nothing metions DUX behaves differently than other unix variants.
what's the problem?



             reply	other threads:[~1999-02-06  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-06  5:00 Ori Tzoran [this message]
1999-02-08  5:00 ` setuid script on DUX 4.0D: why doesnt work? Nikola Milutinovic
1999-02-08  5:00   ` Kees-Jan Dijkzeul
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