Sudo mac os x 10.9

When you're done, hit Enter again.

Open Terminal from Finder Folder

Try creating an app or service in Automator. While it may take you seconds to perform the above task in Terminal each time you want to, you can create a shortcut that will make it more around seconds each time with an easy clickable action. To create a service, open up Automator, then choose to start a "Service. Then just save it as "Sudo Purge" or "Purge" or whatever you want to name it.

Apple Footer

When you want to use it, just select the name of whatever app's currently selected in the menu bar, choose "Services," then whatever you named it. To make an app that you can click on from your Dock, or wherever, open a new file in Automator, select "Application," and do the same exact thing as above. It will save as an Automator application that you can place wherever you want.

How to Run GUI Apps as root in Mac OS X

You can change the app icon too if you want. The purge command can be useful, however, it has some limitations. The most prominent benefit of the purge command is to flush out the used up RAM and disk cache contents to improve system performance. However, OS X in more recent years has definitely become a lot smarter with memory management, which should cover a lot of usage scenarios. Naturally, the purge command is not a substitute for more RAM. But it looks like I don't need to enable root. Communities Contact Support. Sign in. Browse Search. Ask a question.

User profile for user: Desktops Speciality level out of ten: I try to enter a sudo command in Terminal, but get the warning: Improper use of the sudo command could lead to data loss or the deletion of important system files. Please double-check your typing when using sudo. Type "man sudo" for more information. Those are tabs after the username and group name.

All replies

To write and save the file hit ESC just to be safe and then: This basically tells vi to write then quit; if you made an error in the file, it will tell you so and ask you want to do. If this happens, you should always revert and try again, it's a lot easier. Of course you could always use "sudo tcsh" but I don't like being root when I'm playing around. And please, take the security caution seriously. If someone else can get to your Mac, they will be able to execute commands as root without any authentication.

Of course, once someone has physical access to the machine, most bets are off, but this makes it very easy for someone to do bad things to your machine if they so desire. Let me say it again You'll need to decide if the risk is worth the few seconds of saved typing each time you sudo. Allow sudo access without a password 21 comments Create New Account. The following comments are owned by whoever posted them.

My Problem

This site is not responsible for what they say. OS 9 boot CD Authored by: My fave Anonymous on Dec 03, '02 There is a huge difference between booting from a CD and modifying your user environment such that any application can execute code with superuser privileges.

In the first case, it takes a long time to boot from a CD and screw with the machine. In the latter-- in the case of opening up sudo to allow any command without a password-- you are opening up your environment such that any app can do whatever the hell it wants without requiring a password.

Mac 10.6 Tutorial Using the Sudo Command in Terminal

This means that a simple applescript could 'do shell script "sudo bad thing " and you wouldn't even see a mysterious Password: Sudo over su Authored by: Accura on Dec 02, '02 Don't do this!!!! Glanz on Dec 03, '02 While you're at it If any of those "hardcore Unix admins" have done this, I hope they only run command-line programs or GUI apps that they themselves have written and so can have complete trust in.

Elektron on Dec 14, '02 Chris [ Reply to This ]. Thanks, I think Authored by: Help Authored by: If you still have access to a user account that's in the admin group, try this: Search Advanced. From our Sponsor Latest Mountain Lion Hints Click here for complete coverage of Lion on Macworld. User Functions Username: What's New: Hints 1 new Hints in the last 24 hours Comments last 2 days No new comments Links last 2 weeks No recent new links.

What's New in the Forums? Nano 7 - backgrounds TM backup via Ethernet. News from Macworld Lyft for Work challenges Uber for Business in the battle for corporate dollars Let the right one in: Taylor Swift fans are gonna play, play, play Facebook lays ground for ad push and payments with updated privacy policy Free advice: Apple gets what it pays for Review: