Hot answers tagged

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 ...


23

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.


16

You can multi-select & delete from System Prefs > Network > WiFI > Advanced… Shift ⇧ or Cmd ⌘ Click to select multiples, then hit the — button underneath. Note that this will also clear the same settings from any linked iDevice.


11

It seems the theoretical limit is about 1 billion hard links on an HFS+ volume. Indirect node files have a special identifying number called a link reference. The link reference is unique among indirect node files on a given volume. The link reference is not related to catalog node IDs. When a new indirect node file is created, it is assigned a new link ...


7

For Maximum Safety, Copy Everything The safest option is to copy everything, including invisible meta-data files. Files tend to exist for a reason and as software changes, so will the existence, purpose, and contents of these meta-data files. Copying everything will reduce the maintenance burden and offer ease of mind that nothing is being lost. The log ...


6

Booted to Internet Recovery Mode you have to remove all non-OS X partitions, modify the partition types and then resize your main volume. The reason why you can't boot your Mac is the bogus partition type (FFFF-FFF....) of your main partition (i=2/sda2). Additionally the Recovery HD partition (i=3/sda3) has the wrong type. Preparation: Restart to Internet ...


6

You can attempt to remove the file by its inode number. List the files in /Library with the -i option ls -il /Library The first column is the inode number of the file. Then use find find /Library -inum XXXXXXX -delete where XXXXXX is the inode number of the file.


6

Appifying with Platypus: Download Platypus and create an app from the shell script. Example: The settings above create an app with a progress bar (including details) and it can be quitted - the rsync process has to be canceled (killed) manually though. The app itself can be found with Spotlight. Simple AppleScript solution: In Mavericks (and ...


5

It's important to realize that students already have other avenues of access to the bash (and other) shells. Students can download alternate terminal programs—such as iTerm—to their home directories to gain shell/CLI access. Additionally, shell scripts can be run via Automator.app. So, especially for enterprising students, blocking the default Terminal.app ...


5

The iPhone (and other mobile devices) run iOS, which is a different operating system to OSX which is the desktop operating system for your Macbook. Any purchases you make and download on your phone are only able to run on your phone (or other iOS device, potentially). While you can transfer them to your Mac (Transfer Purchases in iTunes) this is intended ...


5

First some important commands to know: ls -laO shows a lot: drwxrwxr-x+ 19 myuser1 staff 714 2 Feb 10:31 My Passport ls -elaO includes ACLs: drwxrwxr-x+ 19 myuser1 staff 714 2 Feb 10:31 My Passport 0: user:_spotlight inherited allow list,search,file_inherit,directory_inherit The following command shows all members of a group (the example ...


4

Since El Capitan, you can move the Spotlight bar/window. Just click-and-drag it to wherever you want.


4

Please keep in mind this is a guess, based on the 3 logs you provided and your description that you've wiped the OS several times without a change in issue behavior. I noticed that all 3 logs show a crash when loading the same kext: last loaded kext at 7766792260: com.apple.driver.AudioAUUC 1.70 (addr 0xffffff7fb02f4000, size 32768) This may indicate ...


4

You can use chflags in a Terminal to hide/unhide a file where file is an individual file or folder or when using the -R option, all files/folders within a folder. See: man chflags Basic syntax to hide a file is: chflags hidden file Or folder and everything in it: chflags -R hidden file Basic syntax to unhide a file is: chflags nohidden file Or ...


4

For just moving files and folders within the hidden folder, it might actually not even be necessary to unhide the folder as long as you know its name—or know how to get it. For example: I know that a Library folder exists within my user folder but I cannot see it in the Finder: However, I can use CMD+Shift+G to open a prompt where I can type in a folder ...


4

You got it the wrong way round :-) create a key pair on the Mac you are using put both id_rsa.pub and id_rsa into ~/.ssh and run chmod 600 id_rsa append the generated public key (id_rsa.pub) to .ssh/authorized_keys on the remote machine (your server in this case). If you are allowed to login in via ssh using a password, use ssh remoteuser@remotemachine ...


4

Here's a way to show the time remaining until the next calendar event in the menu bar. Install icalBuddy in /usr/local/bin (the easiest way is with Homebrew: brew install ical-buddy) Download and launch BitBar Put the following script in the plugin folder you selected (as event.sh, for example): #!/bin/bash osascript <<'END' set theEventInfo ...


4

Since the OS X installer is an app, you would need a scripting framework to automate clicking of the buttons. Far easier to set up a MDM solution where the installer is turned into a netboot resource than to hack apart the UI and script the installation. For starters, look at the AutoDMG or Imagr/NBICreator. You can integrate these with most MDM like ...


4

You can format any drive to FAT16 with newfs_msdos Command 1) Launch Terminal 2) Find The Drive you Want to Format #mount /dev/disk2 on / (hfs, local, journaled) devfs on /dev (devfs, local, nobrowse) /dev/disk4s1 on /Volumes/USB_Disk (msdos, local, nodev, nosuid, noowners) In this case, my disk is disk4. Your disk will most likely be different! Be ...


3

Well, if I use ⌘+V keys to paste, it does not matter if a file or folder is highlighted. The file is pasted to the folder currently open in the Finder window. If you want to just copy a file to a folder by drag and drop, hold down the option key before dragging the file.


3

Create a file named org.mongod.user.plist in ~/Library/LaunchAgents with the content: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> ...


3

Some of the root folders (e.g. /sbin /bin) as well as some application bundles (i.e. Apple apps) are protected by System Integrity Protection even if logged in as root or using sudo. If you want to make changes to protected items disable SIP, apply the changes and reenable it.


3

As stated in the shutdown manual page (man shutdownentered in a Terminal window): -h The system is halted at the specified time. -k Kick everybody off. The -k option does not actually halt the system, but leaves the system multi-user with logins disabled (for all but super-user). -r The system is rebooted at the ...


3

Tor Browser Have you considered using Tor Browser instead of tor? The Tor Browser lets you use Tor on Windows, Mac OS X, or Linux without needing to install any software. It can run off a USB flash drive, comes with a pre-configured web browser to protect your anonymity, and is self-contained (portable). Still need tor? Use brew You can use the ...


3

Your MacBook Air has 2 independent processor cores. When Hyper Threading is used, each core can act as two. In this case you will see four computational cores. The EveryMac page for your MacBook Air explains why you are seeing four in some situations and two in the System Information application: This model is powered by a 22 nm, 64-bit Intel Mobile ...


3

here is a solution which have worked for me https://www.reddit.com/r/OSXElCapitan/comments/3wczrk/spotlight_eating_the_first_letter/? iamtaybo sugested to UNCHECK "Allow Spotlight Suggestions in Spotlight" in System Preferences->Spotlight


3

Wouldn't appear to be, looking at the man page; unless it appears in the --list arg https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man8/softwareupdate.8.html --l | --list List all available updates. -i | --install Each update specified by args is downloaded and installed. args ...


3

Set up your new User as a Sharing Only account, this gives them no actual account on the computer itself that they can log into… System Prefs > Users & Groups Click the lock Click the + sign to add a new User Set the new account to sharing only from the drop menu [stepped out on the pic for clarity] Ref : Apple KB - OS X Yosemite: Create a ...


3

You can create a low-numbered user via dscl, as per this Apple support page and it will be hidden from most views. Also, I believe that if you set the user home directory to something like /var/empty then ssh will log in but the gui will not.


3

There is an easy way to do that right in Gmail. In the settings tab, go to settings and first add a forwarding address under Forwarding and POP/IMAP. Enter the desired forwarding address and confirm it by entering the confirmation code or clicking on the confirmation link. Then go to the Filters and Blocked Addresses tab in settings. On the bottom of the ...



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