On Thu, Feb 06, 2003 at 12:08:27PM +0800, Glynn S. Condez wrote:
> My question is, is it possible for a web user (www/nodody/apache) to
> execute this command? I tried it awhile ago but it doesn't work, it will
> work if i replace the user to www and add an entry to sudoers file
> but i dont like that idea since coz it will open up security hole in
> the system.
>
No, it won't work. Apache has strict rules on what scripts can do.
Sudo is itself a setuid root script, obviously, and I think Apache
watches for such things.
> Any idea how to make this thing work?
What exactly are you trying to do? There might be better and safer ways
of doing such things than recourse to elevated privileges.
--
Rafael R. Sevilla <dido at imperium dot ph> +63(2)8123151
Software Developer, Imperium Technology Inc. +63(917)4458925
"Under the cloud of threatening war, it is humanity hanging from
a cross of iron."
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]