Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Lumio

macrumors member
Original poster
May 20, 2008
54
0
Hello, I want to create a bash-script but need to authorize the action I want to do. Is there something like gksudo for mac os x?

Thanks :)
 
I don't see why this is needed, just lunch the binary with sudo.

E.g.
sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit
 
I don't see why this is needed, just lunch the binary with sudo.

E.g.
sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit

I get why he does. He wants the script to launch from Finder and not pop-up Terminal to a user.

A graphical sudo does a good job of this. This is exactly why Gnome/KDE both have graphical versions of sudo, so the user never sees the "cli" and doesn't have to type anything.
 
Hello and thanks for your replies... yes I googled and yes I already found cocoasudo :) thanks by that... but the problem with cocoasudo is, that I need to compile it by myself... I need something, what is buildt-in.

Thanks for everyones reply.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.