* setuid script on DUX 4.0D: why doesnt work?
@ 1999-02-06 5:00 Ori Tzoran
1999-02-08 5:00 ` Nikola Milutinovic
0 siblings, 1 reply; 3+ messages in thread
From: Ori Tzoran @ 1999-02-06 5:00 UTC (permalink / 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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: setuid script on DUX 4.0D: why doesnt work?
1999-02-06 5:00 setuid script on DUX 4.0D: why doesnt work? Ori Tzoran
@ 1999-02-08 5:00 ` Nikola Milutinovic
1999-02-08 5:00 ` Kees-Jan Dijkzeul
0 siblings, 1 reply; 3+ messages in thread
From: Nikola Milutinovic @ 1999-02-08 5:00 UTC (permalink / raw)
Ori Tzoran wrote:
>
> 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
Put "who am i" in the script, but I think it'll tell you what you
already know.
>
> tried man on sh(1b), sh(1p), setuid(2) etc: nothing metions DUX behaves differently than other unix variants.
> what's the problem?
What is the behavior on other UNIX flavours?
Nix.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: setuid script on DUX 4.0D: why doesnt work?
1999-02-08 5:00 ` Nikola Milutinovic
@ 1999-02-08 5:00 ` Kees-Jan Dijkzeul
0 siblings, 0 replies; 3+ messages in thread
From: Kees-Jan Dijkzeul @ 1999-02-08 5:00 UTC (permalink / raw)
On Mon, 08 Feb 1999 10:57:41 +0100, Nikola Milutinovic
<milutinn@EUnet.yu> wrote:
>> tried man on sh(1b), sh(1p), setuid(2) etc: nothing metions DUX behaves differently than other unix variants.
>> what's the problem?
>
>What is the behavior on other UNIX flavours?
The other unix flavours should behave just like DUX (whatever that is)
SUID shell scripts are considered a security risk, and therefore
disabled.
Groetjes,
Kees-Jan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-02-08 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-06 5:00 setuid script on DUX 4.0D: why doesnt work? Ori Tzoran
1999-02-08 5:00 ` Nikola Milutinovic
1999-02-08 5:00 ` Kees-Jan Dijkzeul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox