Re: "su -" in CGI script ?
From: Robert Nilsson (robert.nilsson_at_monet.no)
Date: 10/01/04
- Next message: Tassilo v. Parseval: "Re: Who's responsible for this ?"
- Previous message: Tassilo v. Parseval: "Re: How to merge .wav files"
- Next in thread: Robert Nilsson: "Re: "su -" in CGI script ?"
- Maybe reply: Robert Nilsson: "Re: "su -" in CGI script ?"
- Reply: chris-usenet_at_roaima.co.uk: "Re: "su -" in CGI script ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 1 Oct 2004 08:49:56 +0200
<chris-usenet@roaima.co.uk> skrev i melding
news:sret22-fmj.ln1@moldev.cmagroup.co.uk...
> Robert Nilsson <robert.nilsson@monet.no> wrote:
> > I'm trying to execute a specific command from a CGI script written in
PERL.
> > I have to be a special user so I've tried to use "su -" but it doesn't
work.
> > The CGI script is running as the user apache on the server, right? Is
that
> > the problem? Is there any other way to execute something with "system"
as
> > someone else within perl?
>
> This is an OS question (UNIX) not a perl one. "su" requires a password. If
> you're running a CGI script there's no terminal from which it can get
> the password. Read "man su" for details.
>
> I don't understand what you mean by << executing something with "system"
>>,
> though.
>
> Chris
.... the command "system" in PERL
- Next message: Tassilo v. Parseval: "Re: Who's responsible for this ?"
- Previous message: Tassilo v. Parseval: "Re: How to merge .wav files"
- Next in thread: Robert Nilsson: "Re: "su -" in CGI script ?"
- Maybe reply: Robert Nilsson: "Re: "su -" in CGI script ?"
- Reply: chris-usenet_at_roaima.co.uk: "Re: "su -" in CGI script ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|