[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't do setuid



This could also be a restriction of the webserver.  Eg. if you are using
Apache with suEXEC enabled it will not execute scripts that are suid
root.

On Fri, 2002-12-13 at 09:36, Charles Menzes wrote:
> > Yes. Use "sudo" and actually *be* root when you run them.
> > Much easier to manage and control *who* gets to run thes magical scripts.
> > 
> > This is often done to allow non-root users to stop/start webservers
> > and stuff that needs to be root to use ports <1024.
> > 
> 
> Yes, but therein lies my problem. I'm using Passwd::Linux in two cgi 
> scripts to allow intranet users to manage their passwords. Doesnt seem 
> like sudo is going to work for me in this occassion since the script will 
> be called via the webserver. 
> Any idea how to circumvent that type of situation?
> 
> -c
> 
> 
> -
> To unsubscribe, send email to majordomo@luci.org with
> "unsubscribe luci-discuss" in the body.



-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.