> knowing that its a bad idea and all, it still has to be done, so
> how will I
> do it in a VS ?
I'm not very fluent in perl, but here's what I remember from an old setup:
1. copy your suid perl to something else (i.e. hide it).
2. chown root.root new-perl
3. chmod ug+s new-perl
4. Change your script shell from #!/usr/bin/perl to #!/usr/bin/new-perl
However, may I recommend you to look at mod_auth_pam (freshmeat) which is an
apache module that will authenticate against any pam database?
If you need to read /etc/passwd from the webserver (which is world readable)
why do you need suid perl?
Dave.