Home Forums Software InstaDMG Enable root user in Lion.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #382403
    David
    Participant

    Hey All,

     

    I’m looking for a scripty type method to enable the root user with a specific password in my Vanilla 10.7 image.  How do I go about doing this? Thanks for any help.

     

    Cheers,

    David

    #382578
    arksyne
    Participant

    David,

    The command is “dsenableroot -u adminname -p adminpassword -r rootpassword“. So if your admin’s named admin and the password is pwd, and you want to set the root password to rooty:

    #!/bin/bash
    dsenableroot -u admin -p pwd -r rooty

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments are closed