in reply to Re: su to user in a cgi script
in thread su to user in a cgi script

Don't forget the scariness of passing your passwords plaintext across the wire. <shivers>

Replies are listed 'Best First'.
Re: Re: Re: su to user in a cgi script
by virtualsue (Vicar) on Sep 20, 2002 at 18:04 UTC
    Agreed! The only way to avoid that would be to set up a elaborate sudoers file which will permit the web user nobody/wwwrun to run a set number of commands as a particular userid w/o a password. Just don't do it. It's a bad idea.

    If you have a particular task in mind, there is probably a different, more secure way to go about it.