Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Lion root user login changed?

Has Apple slipped in a recent change in the procedure to log in as root in Lion? (I'm using OS 10.7.4)


I went to log in as root to solve a problem with restoring a file from Time Machine (You do not have permission... error). As I have done in the past I used the method described in Apple support document HT1528 i.e. -System Preferences/Users & Groups/Login Items.... and found there was no longer a "Join" button in the lower right to click to get to Directory Utility to enable the root user account.


Anyway, after a bit of digging on the net, I found the Terminal commands to enable and disable root. Here they are courtesy of tekewin at Commandline Blogspot


This sequence enables root:


dsenableroot
username = keithw
user password:
root password:
verify root password:
dsenableroot:: ***Successfully enabled root user.


This sequence disables root:


dsenableroot -d
username = keithw
user password:
dsenableroot:: ***Successfully disabled root user.

iMac, Mac OS X (10.7.4)

Posted on Jun 2, 2012 10:59 AM

Reply

There are no replies.

Lion root user login changed?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.