Strgzr

Q: How to enable root user in Yosemite

I see in SEARCH how to enable root user in LION but not Yosemite. Does anyone know how? The sys prefs button choices is different so can't find out how to do.

MacBook Air, OS X Yosemite (10.10)

Posted on Nov 7, 2014 9:29 AM

Close

Q: How to enable root user in Yosemite

  • All replies
  • Helpful answers

  • by Eric Root,

    Eric Root Eric Root Nov 7, 2014 1:48 PM in response to Strgzr
    Level 9 (70,224 points)
    iTunes
    Nov 7, 2014 1:48 PM in response to Strgzr

    Do a backup before doing anything. To delete them you will need to enable the Root User and log in as the Root User. You need to be very careful while logged in as the Root User because you can delete any file and could potentially ruin your system. As soon as the non-functioning applications are deleted, log out and use your normal account. Did I mention doing a backup?

     

    Root User

  • by onthelake2,

    onthelake2 onthelake2 Nov 30, 2014 12:49 PM in response to Strgzr
    Level 1 (0 points)
    Nov 30, 2014 12:49 PM in response to Strgzr

    It's changed from 10.9 and I can't find it.

     

    However root can be enabled from shell:

     

    dsenableroot  to enable,

    dsenableroot -d  to disable

     

    Hope this helps.

  • by pancrazio,

    pancrazio pancrazio Jun 12, 2015 3:19 AM in response to Strgzr
    Level 1 (0 points)
    Jun 12, 2015 3:19 AM in response to Strgzr

    Just found out; 90% of replies in forums were timewasters  ("do a backup", "be careful" "why do you need root").

     

    You need to be logged in as admin, open "Directory Utilities". It's not in Utilities. In 10.10.3 it's an app hidden in System / Library / CoreServices / Applications.Then:

    Make sure the padlock sign bottom left is open, tab Services, Menu Edit and ask for enable root

     

    I won't say be careful because if you want root why should I bother.

  • by squidz,

    squidz squidz Jun 19, 2015 7:16 AM in response to pancrazio
    Level 1 (6 points)
    Jun 19, 2015 7:16 AM in response to pancrazio

    Ha! Seriously...most of the time if someone feels they need root, they have hit some impasse in troubleshooting their system and have arrived at the need for root access. Why everyone acts like it's the end of the world makes no sense. You can lose data doing anything on your computer if you haven't backed up. You can't ruin your system by having root. You may have to reinstall from scratch if you make a mistake. But, it is a normal necessity from time to time while self-managing computers and data over the course of time. It's GOOD to get familiar with your computer and NOT be afraid to problem solve.

  • by TZTW,Helpful

    TZTW TZTW Jul 12, 2015 3:10 PM in response to pancrazio
    Level 1 (5 points)
    Jul 12, 2015 3:10 PM in response to pancrazio

    I have been searching that Menu "Edit" in "Directory Utilities" and still cannot find. Can you tell more specific.

    Cannot find the Edit and Enable Root .... Please help.

    Screen Shot 2015-07-13 at 4.38.05 AM.png

  • by Barney-15E,Solvedanswer

    Barney-15E Barney-15E Jul 12, 2015 3:16 PM in response to squidz
    Level 8 (49,836 points)
    Mac OS X
    Jul 12, 2015 3:16 PM in response to squidz

    squidz wrote:

     

    Ha! Seriously...most of the time if someone feels they need root, they have hit some impasse in troubleshooting their system and have arrived at the need for root access. Why everyone acts like it's the end of the world makes no sense. You can lose data doing anything on your computer if you haven't backed up. You can't ruin your system by having root. You may have to reinstall from scratch if you make a mistake. But, it is a normal necessity from time to time while self-managing computers and data over the course of time. It's GOOD to get familiar with your computer and NOT be afraid to problem solve.

    There is really never any need for the root user. Most people that think they need it arrive there by following some stupid advice they found on the web.

     

    Regardless, the instructions in this Apple Article do work: Enabling and using the "root" user in OS X - Apple Support

  • by squidz,

    squidz squidz Jul 13, 2015 8:14 AM in response to Barney-15E
    Level 1 (6 points)
    Jul 13, 2015 8:14 AM in response to Barney-15E

    If there was never a reason, root access would not be possible.

  • by aatsi,

    aatsi aatsi Jul 13, 2015 8:32 AM in response to TZTW
    Level 1 (95 points)
    Jul 13, 2015 8:32 AM in response to TZTW

    It's in the menu, not the window:

    Screen Shot 2015-07-13 at 8.29.31 AM.png

  • by Barney-15E,

    Barney-15E Barney-15E Jul 13, 2015 5:06 PM in response to squidz
    Level 8 (49,836 points)
    Mac OS X
    Jul 13, 2015 5:06 PM in response to squidz

    squidz wrote:

     

    If there was never a reason, root access would not be possible.

    Except, perhaps, to be Unix compatible.

     

    In my nearly 15 years running OS X, I have never needed to enable it.

    Sudo almost always works, and if it doesn't, I can su to root.

     

    If I had managed to hose the system that badly, I'd just boot into single user mode, or reinstall.

  • by Metak01,

    Metak01 Metak01 Aug 19, 2015 12:40 AM in response to TZTW
    Level 1 (0 points)
    Aug 19, 2015 12:40 AM in response to TZTW

    This was helpful! I was trying to download Creative Cloud and it seemed that my only option to get it loaded (because all of Adobe's other advice about getting it to load was proving useless) was to either use SUDO (which I'm clueless about using. Sorry, but not all of us on here are superusers) or enabling the Root User. So thank you, aatsi, for adding that ONE thing that was making this seem beyond ridiculously difficult to solve for such a simple and necessary tool for my profession.

  • by NightFlight,

    NightFlight NightFlight Oct 27, 2015 2:37 PM in response to Metak01
    Level 1 (25 points)
    Oct 27, 2015 2:37 PM in response to Metak01

    So, wanting to rysnc over a folder full of users from one server to another (preserving ownership and permissions) which cannot be done as admin is not a valid reason? I know I could sneak it across using certificates, but honestly, it should be easier to just enable root for root tasks.

     

    I've been living 20+ years in root at the command line. I've made 1 serious mistake with the rm, but I've also executed an uncountable number of other commands without error.