Home > Mac administration, Mac OS X > Enabling secure virtual memory from the command line in 10.5.

Enabling secure virtual memory from the command line in 10.5.

One of the security options that’s good (and fairly painless) to enable on OS X is secure virtual memory (AKA encrypted swap space.) On 10.4 and 10.5, you can enable this from the Security preference pane. On 10.4, you could also enable it from the command line by adding an entry for ENCRYPTSWAP=-YES- to /etc/hostconfig, but this has changed in 10.5. It took me a while, but I found an defaults write command that turns on secure virtual memory:

sudo defaults write /Library/Preferences/com.apple.virtualMemory UseEncryptedSwap -bool YES

You will need to reboot before the encrypted swap takes effect.

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: