Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just enabled Whole-Disk Encryption (under the name FileVault 2) in Mac OS X Lion. In the setup process, I was asked to select the users whose passwords can unlock the startup disk. I have the root user enabled, but it was not available in this selection.

I frequently need to start up and directly do administrative work which is most easily done in root. Now, it’s not too difficult to start up into one account, then log out and back in as root, but this is obviously more bothersome than it should be. Any ideas how I can start up my computer under root’s credentials?

(Also: In Security & Privacy in System Preferences, there is a button to “Enable Users,” but, of course, root is not offered in that selection either.)

share|improve this question
    
Have you tried opening System Preferences while logged in as root? I know the Users & Groups shows a hidden user while logged in as that user… – Blacklight Shining Sep 3 '12 at 2:33
up vote 1 down vote accepted

In the terminal, after enabling your root account:

sudo fdesetup add -usertoadd root

and entering passwords as prompted, should do what you want.

share|improve this answer
    
Would like to note that this is a bad practice (although it does answer the question). Anyone with physical access to the device can now command-R boot into Recovery Mode, launch Terminal, and resetpassword the root account. If you need root access and encryption, think about PGP WDE instead of FileVault -- then you can safely remove the recovery partition -- computers.tutsplus.com/tutorials/… – atdre Jul 6 '15 at 21:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .