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

Re: Can't do setuid



> 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.