Set UID

Networking/Security Forums -> Macintosh

Author: Net411Location: Missouri PostPosted: Sat Oct 21, 2006 7:44 am    Post subject: Set UID
    ----
I am running an updated Tiger and I want to execute a shell script as root. I am aware of the security implications, I am also aware that Apple turned off the execution of setuid shell scripts. So besides creating my script into a binary, how else can I work around getting a shell script to run as setuid root?

I have tried the following kernel modification with no luck: sudo sysctl -w kern.sugid.scripts=1

Any help would be appreciated.

Author: [[Merlin]]Location: United Kingdom PostPosted: Tue Nov 14, 2006 4:25 pm    Post subject:
    ----
Add the user who needs to execute the setuid shell script to the wheel group Smile.



Networking/Security Forums -> Macintosh


output generated using printer-friendly topic mod, All times are GMT + 2 Hours

Page 1 of 1

Powered by phpBB 2.0.x © 2001 phpBB Group