|
RE: apache mod_perl + suid question: msg#00194apache.mod-perl
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:pmak@xxxxxxxxxxxxxx] Sent: Friday, July 26, 2002 6:50 PM To: pandit_tushar@xxxxxxx Cc: modperl@xxxxxxxxxxxxxxx Subject: Re: apache mod_perl + suid question On Fri, Jul 26, 2002 at 06:40:31PM -0400, pandit_tushar@xxxxxxx wrote: > 1: The usermod command doesn't get executed. I have tried debugging > this...by having a log file(/usr/local/apache/logs) and the mod_perl > process does open the wrapper script..but then does nothing. It does > not execute the command. What am I doing wrong ? Try '/usr/sbin/usermod' instead of 'usermod'. It may be a path issue. Also, 'usermod' might have to be run interactively (rather than reading from standard input), so you may have to create a virtual terminal in order to interface with usermod. (I might be wrong on this, and I can't elaborate further.) |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: apache mod_perl + suid question: 00194, Philip Mak |
|---|---|
| Next by Date: | RES: apache mod_perl + suid question: 00194, Vitor |
| Previous by Thread: | Re: apache mod_perl + suid questioni: 00194, Stas Bekman |
| Next by Thread: | RE: apache mod_perl + suid question: 00194, pandit_tushar |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |