I wonder if exist a option to enable it (and not resort to command line)
If you're averse to using the command line, chances are you don't actually need to know how to do this.
The short answer is no, there is no built-in GUI tool for this. The closest you will get is to enable fast user switching, then switch to the user you want to run as. Or use the CLI. Or just set ACLs properly on your machine, so that if you need to share files with a particular user, they are shared.
well or just put the users in the same group and give the group permissions to the concerned files.You could chown the file to the user you want to run it as and the change the permissions so it runs setuid. Then whenever it is executed, it is run as that user.
well or just put the users in the same group and give the group permissions to the concerned files.
But the OP does not want to use the command line.running the application package from command line as root solves the issue.
OS X will automatically prompt the user for the user name & password of a user who has privileges when the current user does not, which is a much better user experience than the "run as" MS feature.
In any case I found this forum while searching for"Run As" for the mac and haven't seemed to find anything out there, so I went ahead and wrote it myself.
It can be downladed here:
AppleScript Error
File file Macintosh HD:Volumes:Fun:Joey:.76414..many numbers wasn't found (-43)
You're pretty brave! Please don't let us find you here reporting "SL bugs" that only you & about 10 other users are experiencingIt looked promising, but didn't work. It had an AppleScript error after putting in login credentials. Error given below. Looks like the path was hard-coded, which doesn't work very well.
Code:AppleScript Error File file Macintosh HD:Volumes:Fun:Joey:.76414..many numbers wasn't found (-43)
Saw it but could not identify. For instance, I never had to run disk utility a bazillion times. Once is enough.Except it doesn't always "automatically prompt" users for certain instances, like those given by others, like the post directly above yours.
I know how to be safe with files.You're pretty brave! Please don't let us find you here reporting "SL bugs" that only you & about 10 other users are experiencing![]()
Saw it but could not identify. For instance, I never had to run disk utility a bazillion times. Once is enough.
It's right there in the message you referred me to: "If you're a non-admin user and you want to be able to view system logs in the Console app, or run disk utility without having to type in your password a bazillion times."I don't see anyone mentioning disk utility so not sure what you're talking about.
It's right there in the message you referred me to: "If you're a non-admin user and you want to be able to view system logs in the Console app, or run disk utility without having to type in your password a bazillion times."
I also log in daily as a regular user and recommend to others to do the same.
Whenever higher priv's are needed, OS X prompts me for Admin priv's, which works brilliantly and overall is better than "run as".
Furthermore, btw, I just opened the appfirewall.log from my regular user account without using the CLI. Normally I am a fairly heavy CLI user but just to prove it's possible completely in the GUI:
1. open Console
2. go to any log you do not have permission to read (grey colored text)
3. drag/drop the log file onto TextWrangler** icon (in Dock)
OS X then prompts for an Admin password & if you have it, you'll be reading the log![]()