[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
perl-suidperl changes between RHEL 3 & 4?
- From: Brian Long <brilong cisco com>
- To: nahant-list redhat com
- Subject: perl-suidperl changes between RHEL 3 & 4?
- Date: Tue, 25 Oct 2005 09:43:39 -0400
I have a setuid perl script with 4711 (-rws--x--x) permissions. On RHEL
3, I am able to execute this perl script as a normal user and obtain
root privileges as long as the perl-suidperl RPM is installed. If that
RPM is not installed, the program cannot obtain root privileges.
If I install the script on a RHEL 4 host with the same permissions and
perl-suidperl is installed, I get the following error:
Can't open perl script "/path/to/script": Permission denied.
Use -S to search $PATH for it.
If I give the user read privileges on the script, the script runs with
root privileges. Why are 4755 permissions required to get this working
on RHEL 4? Maybe someone can hit me with a clue stick on the proper use
of perl-suidperl :) The she-bang is just #!/usr/bin/perl.
Thanks!
/Brian/
--
Brian Long | | |
IT Data Center Systems | .|||. .|||.
Cisco Linux Developer | ..:|||||||:...:|||||||:..
Phone: (919) 392-7363 | C i s c o S y s t e m s
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]