[vox-tech] Running a suid root perl script
Henry House
vox-tech@lists.lugod.org
Sat, 3 May 2003 07:34:01 -0700
--n8g4imXOkfNTN/H1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
I created suid.pl as
#!/usr/bin/sperl5.8.0 -T
print $ENV{"USER"}."\n";
then did:
nyssa:/home/hajhouse# chmod ugo+rx suid.pl
nyssa:/home/hajhouse# chown root: suid.pl
nyssa:/home/hajhouse# chmod u+s suid.pl
nyssa:/home/hajhouse# exit
hajhouse@nyssa:~$ ./suid.pl
hajhouse
Alas it does not work. Any ideas?=20
--=20
Henry House
The attached file is a digital signature. See <http://romana.hajhouse.org/p=
gp>
for information. My OpenPGP key: <http://romana.hajhouse.org/hajhouse.asc>.
--n8g4imXOkfNTN/H1
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+s9NZi3lu92AVGcIRAqsPAJsF7rWOZjdSp8XCPvnzTbGTx+a5kACaAqMA
04+E5Ws2utT15d2d5N49/6U=
=LlXC
-----END PGP SIGNATURE-----
--n8g4imXOkfNTN/H1--