Hot answers tagged

326

Using your computer logged in as root all the time is like always carrying around all your keys, your passport, $5,000 in cash, that piece of paper with all your passwords written on it and the only photo you have of Flopsy, the adorable rabbit whose death broke your seven-year-old heart. Oh, and a chainsaw. Which is to say, it's mighty convenient from time ...


182

First: the name "rootless" is misleading, since there's still a root account, and you can still access it (the official name, "System Integrity Protection", is more accurate). What it really does is limit the power of the root account, so that even if you become root, you don't have full control over the system. Essentially, the idea is that it's too easy ...


148

I just ported MenuMeters for El Capitan, please go to http://member.ipmu.jp/yuji.tachikawa/MenuMetersElCapitan/.


108

Marks in the Terminal The new Terminal marks (available starting with OS X 10.11 - El Capitan) are similar to Bookmarks, which are also available in the Terminal, allowing you to mark window positions and then giving you the option of going back at a later point. Marks (or Bookmarks) don't refer to your command history, but to the scroll buffer used in the ...


81

⌘ CMD+⇧ SHIFT+. Reveals hidden files in Open/Save dialogs. Note: This is not working in Column View. The second part: Hidden files are usually sensitive and not experienced users should not edit them without knowing what are the consequences. Edit: You can also press ⌘ CMD+⇧ SHIFT+G and type the path to the hidden folder, just like in Terminal (⇥ TAB ...


60

Go to your user library in finder steps (go>(hold down the opt key), then click Library), navigate to the Preferences folder and remove any files that are or contain com.apple.finder.plist. Restart or log out and log back in again then empty the trash and try again.


57

Apple's documentation covers disabling SIP, About System Integrity Protection on your Mac. An article on lifehacker.com lists these steps: Reboot your Mac into Recovery Mode by restarting your computer and holding down Command+R until the Apple logo appears on your screen. Click Utilities > Terminal. In the Terminal window, type in csrutil ...


54

For me, it means DTrace no longer works. DTrace is similar to ptrace/strace in Linux, in that it allows you to see what a process is saying to the kernel. Every time a process wants to open a file, write a file, or open a port, etc, it needs to ask the kernel. In Linux, this monitoring process happens outside of the kernel in "userland", and thus ...


48

These days if you want to install a different version of the software package with homebrew, you do it this way: $ brew tap homebrew/versions Then search for your desired package: $ brew search node This might give you the follow results: homebrew/versions/node012 homebrew/versions/node010 homebrew/versions/node08 homebrew/versions/node06 ...


43

It's possible to disable SIP by booting to Recovery HD and running the following command: csrutil disable It is also possible to enable SIP protections and selectively disable aspects of it, by adding one or more flags to the csrutil enable command. All require being booted from Recovery in order to set them: Enable SIP and allow installation of ...


36

If you're comfortable using the terminal, you might be able to figure out what the file is. If you're not comfortable using terminal, I wouldn't worry about doing this. I was doing this mainly for my own interest rather than any real need. Open terminal and enter the following commands (enter the text following the $): $ cd /lost+found $ ls -l total ...


33

There's an OS X feature called authenticated restart that stores the FileVault key in the SMC for the duration of the reboot. Apple acknowledges in the manpage that it does reduce FileVault security for the duration of the restart: On supported hardware, fdesetup allows restart of a FileVault-enabled system without requiring unlock during the subsequent ...


32

A quick solution is to use homebrew to install python into /usr/local/bin so that your pip can run against a user-modifiable python framework. brew install python pip --version Disabling System Integrity Protection is also an option, but I don't recommend that for anything but professionally managed and fire walled servers where you have the manpower to ...


32

If you care to read the tea leaves, the initial OS X v10.11 Developer Beta supports the following Macs: iMac (Mid 2007 or newer) MacBook Air (Late 2008 or newer) MacBook (Late 2008 Aluminum, or Early 2009 or newer) Mac mini (Early 2009 or newer) MacBook Pro (Mid/Late 2007 or newer) Mac Pro (Early 2008 or newer) Xserve (Early 2009) Source: OS X v10.11 ...


32

What no-one seems to have pointed out so far is that /Applications are usable by everybody & ~/Applications are only for that user. Some installers will ask if you want to install for this user or for everybody. That's how it can differentiate. That will be one of the reasons Steam installs to there, as it's a per user license. Apple's app ...


31

That is Handoff and a natural feature when OS X and iOS devices are signed into the same iCloud account. This works if you have iOS 8+ or OS X 10.10.x Yosemite. If you have a supported application then you will be able to open it on your Mac right where you left off on your iOS device. Looks like you was running Chrome on your iPad at the time. If you wish ...


30

For people stumbling upon this in an OS X 10.11+ era (El Capitan or newer): Apple has added a whole new layer of security in OS X. They have taken away some privileges from root. The file you are trying to modify has a restricted flag. Only restricted processes which are signed by Apple will be able to modify these files. However, you can disable this ...


30

System Integrity Protection (SIP) is an overall security policy with the goal of preventing system files and processes from being modified by third parties. To achieve this, it has the following concepts: File system protection Kernel extension protection Runtime protection File system protection SIP prevents parties other than Apple from adding, ...


28

In Mail.app's application's preferences, I deselected "Accounts > Advanced > Automatically Detect and Maintain Account Settings" on two Google accounts, and CPU usage returned to normal.


26

I just got this to work after an annoying 2 months! Select a single VIP Mailbox Go to View then Sort By then select All Mailboxes Go to the main VIP Mailbox and all should appear. If that works you can then try changing the sort to go back to Inbox only.


25

Apple makes its own drivers & they are included in the OS updates. The way to be up to date on drivers is to always be running the latest OS. There is debate over whether Apple make the entire driver set themselves, or just take NVidia/AMD's core code & add their own hardware/OS-specific code to it. The latter seems more plausible to me, but either ...


24

I think there is a misunderstanding here. An iOS app (from your iPhone) cannot run on your MacBook Pro. If you want to use a similar app on your Mac, I suggest you check if there is a Mac version of the application you want to use. You can search on the Mac App Store or on the app website.


23

First, you're not disabling SIP as a way to address the issue. Sorry that's the reason that this folder creation is failing, but we have to work around it. Second, you lose all the niceties Apple thought they were giving you, like a bridge via pyObjC, when you install your own Python. (I'll admit, they say you should install your own to /usr/local if you're ...


23

I have a solution that I was able to reverse engineer. I've tested it on my machine, running Yosemite 10.10.4 (14E46). If you can find the bundle ID (in the Info.plist file for the app bundle), you can use this script to force the app to appear in the notifications preferences pane. # "Usernoted" seems to be the "user notifications daemon", so get it's PID. ...


23

There isn't any advantage to wiping and reinstalling OS X on a new Mac direct from Apple. You'll end up with the exact same drive contents. I can't think of any difference between an Apple-imaged Mac and a self-imaged Mac.


22

They are System fonts & not available (or indeed licensed) for documents that you make or App use in general. As mentioned in comments, even the developer version of the fonts is only licensed for interface mockups & no other purpose. The previous system font, Helvetica Neue, on the other hand, was released as both a System & User font. There ...


22

I have two alternatives: Press Cmd+L (go the Location/Search field), then Cmd+Return. Click the back button (<), then press Cmd while clicking the forward button (>). Both of these will open a tab in the background. (Often, Cmd + click opens the click target's reference in a new tab.) If you also press Shift while performing the second step of ...


22

Press Command ⌘+Control ⌃+Space Type lamda into the search bar. Pay attention to type lamda instead of lambda Your lamda should be there: You might ask why it is spelt lamda not lambda. According to the link provided by MJeffryes: The use of the spelling lamda derives from ISO 10646. This does not mean that it is more correct than lambda, ...


21

You can, but it's a major security and stability risk. Doing so allows any application full access to your computer. You can't know what they're doing with that access. It's unnecessary, and just really unsafe. For a lot more background information on this, see Why is it bad to login as root Why not run always logged in as root Why it is not recommend to ...


21

sudo kill -HUP $(pgrep powerd) (I don't have an answer for 'why')



Only top voted, non community-wiki answers of a minimum length are eligible