2011-07-20

Mac OS X Lion tips

These are random notes, will clean this up later...

How to Disable Journaling?
  1. open Disk Utility
  2. select desired partition from the list on left
  3. while holding down option (alt) key, open file menu and select Disable Journaling
Kernel Flags in /Library/Preferences/SystemConfiguration/com.apple.Boot.plist
Kernel Flags
  • -s (or hold down Command-S during boot) boot to single user mode
  • -v (or hold down Command-V during boot) enable verbose boot
  • -x (or hold down Shift during boot) boot in safe mode
Kernel Architectures
  • i386
  • x86_64
trying to disable journaling with disk utility on an unmounted filesystem resulted in a crash in lion 10.7?

How to set the password for root account?
In terminal: sudo passwd root

How to select boot device at startup?
Hold down the option (alt) key

How to disable Secure Virtual Memory?
sudo defaults write /Library/Preferences/com.apple.virtualMemory DisableEncryptedSwap -boolean yes

To check if swap is encrypted, run:
$ sysctl vm.swapusage


How to enable 64-bit Kernel and Extensions?
modify /System/Library/CoreServices/boot.efi
sudo systemsetup -setkernelbootarchitecture x86_64 (not neccessary if correctly modified)

How to prevent creation of .DS_Store files?

How to Disable remote control infrared receiver?
  1. open System Preferences
  2. open Security & Privacy
  3. disable lock and enable the checkbox 

How to disable Location Services?

How to disable Guest Account and Sharing?

Create a standard (non-admin) account for normal use.

Disable automatic login and user list.


Utilities/Terminal: Disable unnecessary services by using the chart to the right with this command:sudo launchctl unload -w /System/Library/ and LaunchDaemons/com.apple.blued.plist.

http://www.macgeekery.com/tips/security/basic_mac_os_x_security
http://poller.se/2010/08/optimizing-mac-os-x-for-ssd-drives/
http://netkas.org/?p=189

4 comments:

  1. miguel19.11.11

    Hi, i've tried the tip on how to disable journaling, but for the option does not show, even pressing option key.

    ReplyDelete
  2. miguel19.11.11

    my bad! i didnt pressed enough ;) By the way, excelent tips!

    ReplyDelete
  3. Ok :) Good to hear they were useful to you too.

    ReplyDelete
  4. Hello, Swegen.

    I currently have a Macbook 4,1 with 10.10.5 Combo installed, and was wondering if this kext would work as it did with OS X 10.7 and 10.8. The laptop has everything working - except for graphics acceleration...

    TopHat

    ReplyDelete