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
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 ...
Another viable option without a need to disable SIP or install other Python versions, is to install the modules only for the current user using
pip install --user <modulename>
If it is just your personal machine, this would be the simplest and safest solution.
This problem often arises when pip tries to install a manpage for IPython on El Capitan. The quick fix is to use a pip command like this:
sudo -H pip install --install-option '--install-data=/usr/local' <package>
However, System Integrity Protection (SIP) on El Capitan blocks several bad practices with pip that used to slide by, so you will probably ...
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 ...
Welcome to the wonderful world of OS X Keychain and ssh-agent! From the man page:
ssh-agent is a program to hold private keys used for public key authentication (RSA, DSA, ECDSA). The
idea is that ssh-agent is started in the beginning of an X-session or a login session, and all other
windows or programs are started as clients to the ssh-...
You can boot into single user mode by pressing Cmd-S on startup (see OS X: How to start up in single-user or verbose mode for details) which should give you a root shell. Then run
mount -uw /
chown root:wheel /etc/sudoers
chmod 440 /etc/sudoers
to fix the problem and restart.
This isn't possible. Enabling Touch ID enables a passcode, which must be entered on the lock screen. If you do not wish to have a passcode, then you must disable Touch ID too. Also, because you have Touch ID enabled, you are unable to adjust the Require Passcode time in Settings → Touch ID & Passcode → Require Passcode.
The only workaround is to go to ...
For macOS Mojave, here is what worked for me:
Start up in recovery mode (Cmd+R during boot up)
Disk Utilities > Select Macintosh HD, and Mount
Close Disk Utilities
Utilities > Terminal
Type: chown root:wheel "/Volumes/Macintosh HD/etc/sudoers"
You may also need to change the ownership of ts, back in the Terminal:
sudo chown -R root:wheel /...
Yosemite and earlier OSX keeps info on what permissions system files (i.e. files the OS installs) should be. Apple's doc
To restore this use Disk Utility.app.
Select the boot volume (by default called Macintosh HD) on the left hand side.
Click the Verify or Repair Disk Permissions - the latter will reapply the stored permissions.
To edit sudoers in the ...
Open Directory Utility (/System/Library/CoreServices/).
Click the lock icon to unlock it, then enter your administrator name and password.
Do one of the following:
Choose Edit > Enable Root User, then enter a root user password in the Password and Verify fields.
Choose Edit > Change Root Password, then enter a new root user password. You don't need an old ...
This is what the official Apple documentation says:
Your Apple ID can have up to 10 devices and computers (combined)
associated with it. Each computer must also be authorized using the
same Apple ID. Once a device or computer is associated with your Apple
ID, you cannot associate that device or computer with another Apple ID
for 90 days. You can ...
If you have triggered the account to be into a locked status due to too many failed log in attempts, you will need the help of a human to get it unlocked when you no longer can receive email or answer both the birth day question and the security question to a machine's satisfaction.
(yes, I'm sure you know your birthday, but it could have been entered ...
The iBooks authorization count is the same count you get for iTunes Store. They're the same thing. This covers Books, Music, Movies, etc... If you go to the Store menu item from iTunes or iBooks you can click View My Apple ID, enter your password and then you'll see the authorization count.
Basically if you have authorized another computer to use iTunes ...
I think its because of the SIP or System Integrity Protection, a kind of real-time file protection that feels like a windows anti-virus :) and stops any changes you want to make in the OS X system folders.
Apple simply decided to disable system modifications – to be sure you are fully protected from the evil of internet and other computer related evil forces ...
Believe me, you don't really want the library to write anything at that path.
It was previously not recommended, but possible to write into /System/Library/Frameworks/Python.framework/Versions/2.7/ , but now it's not supported due to Apple SIP and so it's the library owner problem.
The package distribution should be upgraded to work correctly with this ...
You can authorise a computer to play/access iTunes-purchased content without logging in to the store.
In the iTunes menubar: Store > Authorize This Computer…
You will be asked to enter your Apple ID and password. These are the same credentials you use for the iTunes Store. The iTunes Store will still ask for an Apple ID and password when anyone tries to ...
A very cool solution for this issue is using virtualenv (virtualenvwrapper), after you create a new environment for your project, you can use pip without issues, so I used virtualenvwrapper and these two lines fix the problem:
pip install <package_name>
Apple has worked hard to try to avoid the situation you mentioned. It is a major pain to have apps downloaded from different Apple IDs on one iOS device. For example, someone bought an app for me, but used (obviously) their Apple ID. Anytime I wanted to update that app, they had to enter their Apple ID in. That also meant that clicking "Update all" in the ...
You should explicitly deauthorize it. The standard way is to use iTunes.
But if you do not want to install or use iTunes, you can get Apple Support to help you:
Go to the Apple iTunes Support page
Click on the Contact iTunes Store support link (click OK when it prompts you about redirecting you to another page)
This currently takes you to the What's ...
I also have the same problem and unfortunately there doesn't seem to be a way to view this kind of information at present. This is corroborated by several Apple Support Community threads here, here and here.
As you say, the only option seems to be to either try to figure out which machines are currently authorized and deauthorize them using iTunes (...
Type sh or sudo sh (my case I accidentally set chown -R / so sudo is me, no need sudo anymore, using sh)
In sh, type cd /var/db/sudo/, then do ls -ln to check if its the same as these:
drwxr-xr-x 2 501 0 68 Oct 23 23:56 yourusername
drwx------ 3 501 0 102 Nov 24 00:57 ts
then type ls -la and you'll get these:
Great and simply for High Sierra- no SUDO, no recovery, just (verify/repair permissions)
diskutil resetUserPermissions / `id -u`
Choose Folder via Finder -> Information -> unlock and choose Setting Wheel on the bottom-> Apply to enclosed Items
There are quite a few smart card readers (e.g. this one on the Apple Store) that work with OS X.
For support of Smart Cards you may also want to check out Smart Card Services on MacOsForge.org, as highlighted by this Apple Support document regarding smart cards on OS X Mavericks.