Yes, I have been looking at this site and doing my own debugging via prints
etc.
I haven;t seen any problem with uptil now with my code and have spent hours
debugging
this. Would like to know if someone can see any obvious problems here:
package Apache::ChangePassword;
use strict;
use
Would like to know if someone can see any obvious problems here:
package Apache::ChangePassword;
use strict;
use Apache::Constants qw(:common);
use CGI '-autoload';
Well I wouldn't use CGI.pm just to call param().
If I don;t use CGI.pm, it complains during compilation
- Undefined
I have been trying to debug this for some time, and am not
sure what is happening or why it is happening.
I have a simple gui that takes in old and new passwd and changes
it. For this I have a change password button. Now the problem
that I see is sometimes.when I enter the values in the
Thanks a lot. That really does help.
regards,
-Tushar
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 6:36 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: apache mod_perl + suid question
[EMAIL PROTECTED] wrote:
Hello,
I
Vitor,
Yes, I get the following error when I use the -T mode:
Insecure dependency in `` while running with -T switch at
/usr/sbin/usermod_wrapper.pl line 27
Please bear with me, if I am going through your answer again.
Please let me know if the following would be the correct
way to go:
So to
Vitor,
The thing is also that I can run the wrapper from the command line without
the
-T switch, and I do succeed, i.e. the password does get changed. Seems like
mod_perl by default has the taint mode on.
How do I get rid of this taint mode from mod_perl.
At present I have the following use
Ahhh...forgot to mention...but the below approach did't work :-(
It does not even go into the wrapper script when I use the system command.
thanks.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 7:13 PM
To: [EMAIL PROTECTED]; [EMAIL
Thanks Vitor...
I have something very similar to what you mention below..only
that I am taking the username and passwd from the apache gui.
Then I encrypt the passwd and send that to wrapper(i.e. suid_file)
script.
So I have something like system($wrapper), where $wrapper =
suid_file.pl
Yes, I am running it as /usr/sbin/usermod. I can run my wrapper
with a simple perl script written on linux. The problem appears
when I try to run it through the apache mod_perl.
thanks.
-Tushar
-Original Message-
From: Philip Mak [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002
Hello,
I am trying to write a password changing program. For this I have a mod_perl
subroutine
from where I am trying to execute a perl script(with suid permissions 4711),
which is a wrapper and
in turn calls the usermod command on linux with the old and new passwords.
The problem I am having:
10 matches
Mail list logo