* [gentoo-user] Why can a perl script be executed suid root?
@ 2007-02-26 9:10 Dirk Heinrichs
0 siblings, 0 replies; only message in thread
From: Dirk Heinrichs @ 2007-02-26 9:10 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 666 bytes --]
Hi,
even if I rename suidperl, I can execute the following suid-root perl script
as normal user and get two different uids (as expected, from a suid-root
script).
#!/usr/bin/perl
# print euid
print $>."\n";
#print uid
print $<."\n";
I would expect that w/o suidperl I'd get the user's uid twice.
Bye...
Dirk
--
Dirk Heinrichs | Tel: +49 (0)162 234 3408
Configuration Manager | Fax: +49 (0)211 47068 111
Capgemini Deutschland | Mail: dirk.heinrichs@capgemini.com
Hambornerstraße 55 | Web: http://www.capgemini.com
D-40472 Düsseldorf | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-02-26 9:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-26 9:10 [gentoo-user] Why can a perl script be executed suid root? Dirk Heinrichs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox