HT1528 How to enable root user using terminal for mac lion 10.7.5 (step by step)

I been trying to find the terminal version of creating a root user since I don't know my admin password and want to delete that user.

You don't need to enable the root user. Just change the password for the account.
Forgot Your Account Password
For Lion, Mountain Lion, or Mavericks
    Boot to the Recovery HD:
Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
     When the menubar appears select Terminal from the Utilities menu.
     Enter resetpassword at the prompt and press RETURN. Follow
     instructions in the dialog window that will appear.
     Or see:
       Reset a Mac OS X 10.7 Lion Password
       OS X Mountain Lion- Reset a login password,
       OS X Mavericks- Solve password problems,
       OS X Lion- Apple ID can be used to reset your user account password.
For Snow Leopard and earlier with installer DVD
     Mac OS X 10.6- If you forget your administrator password,
     OS X- Changing or resetting an account password (Snow Leopard and earlier).
For Snow Leopard and earlier without installer DVD
    How to reset your Mac OS X password without an installer disc | MacYourself
    Reset OS X Password Without an OS X CD — Tech News and Analysis
    How To Create A New Administrator Account - Hack Mac

Similar Messages

  • Is there a way to enable root user using terminal?

    is there a way to enable root user using terminal? i've tried in directory app but its not letting me log in under root since repairing permissions

    Hi
    If all you're seeing is bash-3.2# you are logged in as root. Type exit followed by a return. What do you see now?
    I think most of your questions could be answered with some judicious reading? Download as many admin manuals you can:
    http://www.apple.com/server/macosx/resources/
    Tony

  • 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.

    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

  • SUDO command - How to remove a User using Terminal?

    So I just inherited from my coworker's MacBook Pro. I then decided to transfer all of my files and realized that the root folder was still on his name. I changed the User's name in "System Preferences" but that did not change the root folder's name. I then went to Terminal and tried to change the folder's name using the "mv OldFoldersName NewFoldersName"  and the prompt said Permission denied. I then used "sudo mv OldFoldersName NewFoldersName". After restarting my computer, all the files were gone and I landed on a "LION first time USE" type of Desktop. All my files are gone and terminal shows me two users' names under /Users/ => OldUser and NewUser.
    What can I do to recover my old files? What can I do to repair my Mistake and only have one User?
    Thank you very much for your help.

    10Kg wrote:
    All my files are gone and terminal shows me two users' names under /Users/ => OldUser and NewUser.
    What can I do to recover my old files?
    If your adapt at using Terminal, why don't you hook up a blank external drive, command s boot into Single user root mode,
    ls /Users
    then cd to that directory or mv it to the external drive?
    Any why are you messing with Terminal and on your only copy of your files?
    Kind of risky right?
    Nearly everything on a Mac has been figured out and a safe GUI ability to allow users to do things, there is no need to risk the dangers of the Terminal and unknown under workings.
    But now you have to revert to your backup and start all over like John said.
    Read here for more options
    https://discussions.apple.com/docs/DOC-3046
    https://discussions.apple.com/docs/DOC-3045

  • How do I send a fax using Word for Mac Lion?

    I have an iMac with Lion 10.7.4 and use Microsoft Word for Mac 2011.  My internet connection is Broadband ADSL.
    I wish to periodically send a fax - in days gone by I have used PageSender.
    Any suggestions?

    Can you send a fax over that line? I don't think so. I think you'll have to purchase a fax modem, maybe like this one:
    http://www.amazon.com/USRobotics-USR5637-FaxModem-Windows-Linux/dp/B0013FDLM0
    I assume it installs a "printer" that is actually a fax driver. You would then print to that "printer". Whether that's how it works or not, I'm sure the fax modem comes with some utility for sending faxes through it.

  • HT1528 I can not find the enable root user in, I am using Lion

    I can not find the enable root user in, I am using Lion

    First off, it is a "Bad" idea to enable 'root', as that is the one known account that exists on every Unix system.  If 'root' is enabled, it makes it much easier to break into a Mac via the one account that has absolute control over everything.
    Having said that...
    i too do not observe in editor section enable root user when I perform what Kappy offered in link.
    Did you click on "Login Options" to get the "Join..." button?
    Did you click on "Open Directory Utility" ?
    Did you go to the Menu Bar and click "Edit"?  It should be right there 2/3's of the way down the "Edit" menu -> "Enable Root User"
    If you want another way.
    Start an Applications -> Utilities -> Terminal session
    sudo su -
    password:  <enter your admin password here>
    passwd
    Changing password for root.
    New password:
    Retype new password:
    You have now enabled 'root'.  I hope you gave 'root' a very VERY STRONG password, as you have just opened yourself up for script kiddies to go after your root account.

  • How do I enable root user in OS X 10.7 Lion?

    How do I enable root user within Lion? I've looked online, and I've been instructed to launch the 'Director Utility', but I cannot find this ANYWHERE in Lion. It's not in my Utilities folder. Can anyone offer any advice as to how to enable the root login? Thanks.

    EDIT: Problem solved! For anyone looking for this file, it's located in System/Library/CoreServices.

  • HT1528 I dont see  "Enable Root User" on my Mac 10.7.5

    I dont see  "Enable Root User" on my Mac 10.7.5

    After step Eight in the enable root article, it says to click Enable Root User in the Edit menu.  This that once you are there, you need to go to the top of the screen its self and, on the ribbon, click Edit.  The menu will drop down, and somewhere on the list you will see Enable Root User.  It looks like this with any luck.
                              TOP OF SCREEN                           
        Directory Utility   File   Edit   Window   Help
                                                |Undo                                      |
                                                |Redo                                      |
                                                |---------------                               |
                                                |Cut                                         |
                                                |Copy                                      |
                                                |Paste                                     |
                                                |Clear                                      |
                                                |Select All                                |
                                                |---------------                               |
                                                |Change Root Password...         |
                                          ==>|Enable Root User                    |
                                                |---------------                               |
                                                |Search For Mac OS X Servers |
                                                |---------------                               |
                                                |Start Dictation                         |
                                                |Special Characters                  |

  • Cannot enable root user

    When I set up my user account last year when I got this computer, I am pretty sure I remember a shortname being filled in or suggested to me, and it had an uppercase character for its first letter. So, my short name is "Name" -- except, you know, instead of "Name" it's my first name.
    Anyway, I haven't had any issues until I installed 1Password. I'm having some trouble keeping it in sync, and ran a troubleshooting app as part of their guidance and I see that they say an issue is that my shortname contains an uppercase letter, when in fact it should be all lowercase.
    I find mixed reviews online of whether all lowercase in the short name is still a thing—I've found a few places that say uppercase letters were allowed in 10.6.8, but others say that it should be all lowercase and I need to change my shortname.
    I'd really rather not change it, but just to see how I would do it if I ended up having to, I checked out these instructions http://support.apple.com/kb/HT1428. I got hung up on enabling the root user, though, because I'm not able to select "Enable root user" from the edit menu. It's always grayed out.
    I then found this Apple doc on enabling the root user in Mountain Lion: http://support.apple.com/kb/PH11331?viewlocale=en_US but it's nothing different. "Enable root user" is still always grayed out in the edit menu.
    So... Is there no way I can enable the root user? I'm running 10.8.

    FWIW, enabling the root user account to change a user's shortname is taking a sledgehammer to put a tack in a wall to hang a picture. Better is to follow this:
    https://discussions.apple.com/docs/DOC-3872.
    I've not enabled the root user account since installing OS X in 2002 and I use the Terminal and the CLI routinely.

  • What makes the "Enable Root User" option available?

    I've read the articles on enabling and disabling the root user.  They all get to the Open Directory Utility where you need to "Choose Edit > Enable Root User" .  I can successfully do this on MacBook Air with Lion, but not my Mini with Mavericks because Enable root User is not enables (grey).  WhatdoI need to do to enable it, or another way, what would cause it to be disabled?

    cdefromtacoma wrote:
    Never mind.  I have decades experience with Unix/Linux etc. (just not so much with OS X), and in this instance I know I need root.  Besides, if not this time, then sometime soon.  Thanks for your efforts though.
    All the more reason for my question. You can always get root via sudo. If you didn't have that experience with UNIX then it might be a more difficult question of explaining how to use the Terminal. The only reason to enable the root user is to perform an Aqua login as root. All of the system-level operations are far more easily done in the Terminal than in the UI. Plus, nobody, including Apple, ever enables root so there is no telling what performing UI actions as root will do. I'm not being pedantic here. I am just repeating what I hear from Apple. I filed a bug report on the buggy "enable root" operation and Apple's response was literally "why not just use sudo?".

  • Changing short name - cannot enable root user??

    Hi I encountered a problem trying to enable the root user in order to follow the steps to change my short name. As I follow the steps into opening Directory Utility and entering my administrator account name and password. Here's where I'm stuck at, there is no "Edit" button asking me to enable the root user. Anyone have any idea what I should do now?

    ow88 wrote:
    Alright I have no idea why I can't edit my own post, but anyways..
    You only have about 10 minutes to edit.
    did a little research, turns out it gets more complicating than that. It messes up your files, locks you out, and you lose being your own adminstrator? But since I have nothing saved, this doesn't affect me right?
    In Directory Utility.app (in utilities) unlock the lock, lower left by clicking on it. Then in the menu, top left on your screen, under Edit, click Enable Root user and proceed.
    You can also enable the root in a terminal by entering
    sudo passwd root
    and first entering your regular admin password and then selecting a root password, which should not be the same as your admin password for obvious reasons.
    After that you are on your own, but I suggest first backing the OS up since there might be unexpected consequences from changing the short name. Even if you have nothing saved, you might find that the OS gets hosed for some reason and you have to do a complete reinstall. Using a TM or clone backup makes this a trivial thing to do. Otherwise, it's starting from scratch and updating everything all over again.

  • Enabling Root User

    Hi,
    I am not sure if this is the right place for this question, pls direct me if it isn't.
    I am trying to make changes to the hibernatemode setting using terminal. But I get a prompt saying 'pmset must be run as root...'.
    I have enabled root user in directory services, I still get the same prompt.
    Kindly advise. Thanks in advance.
    Regards,
    Aditya

    from the pmset man page;
    All changes made through pmset are saved in a persistent preferences file (per-system, not per-user) at
    /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist
    therefore preface the command with sudo and enter your password.
    Have your system backed up before making such changes as root, in the event that your alterations cause wreckage.

  • How to enable root on mac on 10.9.2 and how to set the password for the same ?

    how to enable root on mac on 10.9.2 and how to set the password for the same ?

    http://support.apple.com/kb/ht1528
    Follow the steps for Lion.
    But, why are you doing this? I've never found the need to do that.

  • Mountain Lion won't allow me to enable root user

    Hi, I'm new to everything Mac, but I'm trying to learn.  Just purchased a used mid-2011 iMac from an individual.  I love the iMac.  Just a few kinks to work out.  One is that he had originally named either the user account or home directory (I still can't figure out which) and i'd like to change that name.  I found an Apple support article on this (Article HT1428) and I am hopeful it will work for me.  However, the first step is to enable the root user.  I went to Article PH11331 to follow steps to enable the root user.  However, when I select Edit from within the Directory Utility, I am unable to select "Enable Root User", or even "Disable Root User" or "Change Root Password" for that matter.  These options are either not there or are greyed out ("Enable Root User" is greyed out).  So I have failed to even jump the first hurdle (enabling root user) towards my goal of changing the user account or home directory name (sorry I don't know which is which).  Can anyone offer some advice please?  Thanks!

    Mac Basics: Time Machine
    Back up all data to at least two different storage devices.
    Boot into Recovery, launch Disk Utility, and erase the startup volume. This operation will destroy all data on the volume, so you had be better be sure of your backups. Install OS X. If your Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade, so make a note of those before you begin.
    When you reboot, you'll be prompted to go through the initial setup process. That’s when you transfer the data from one of your backups. For a walkthrough, see here:
    Using Setup Assistant
    Don't transfer the Guest account, if it was enabled on the old system.
    Note: You need an always-on Ethernet or Wi-Fi connection to the Internet to use Recovery. It won’t work with USB or PPPoE modems, or with networks that require any kind of authentication other than a WPA or WPA2 Personal password.

  • How to enable frontend printing using Adobe Print Forms

    Otto Gold at the forum "SAP Interactive Forms by Adobe" gave me the tip that Sandra Rossi in this forum might help me out. Here is the link to my original thread How to enable frontend printing using Adobe Print Forms
    My question was:
    Hi Experts!
    Did anyone of you manage to enable frontend printing using Adobe Print Forms? In order to save administration effort we use frontend printing in our ERP system. We just changed some SMARTFORMS to the new Adobe Forms technology. Now we learned that direct frontend printing does not work with these forms.
    Any help will be very much appreciated.
    Kind Regards,
    Gerald

    I think you'll be disappointed by a rather negative answer but I'll try to explain everything I know (or think I know) the best I can
    The simplest solution is to do a preview, and print from Adobe Reader! (as I could see on one project, users have to display one more dialog than usually to print) It's the best workaround according to me.
    How Adobe form printing works:
    When you print an Adobe form from SAP, a printer language (PCL, PS, ZPL, PDF) is retrieved from TSP0B table according to the device type, ADS (Adobe Document Services, installed in the SAP java stack) is then contacted to generate the form: a file corresponding to the printer language is generated and sent back to SAP (there are also 2 other little files but it's of none interest here). SAP stores it as a file (named SPOOL...) in the global directory (DIR_GLOBAL when you use AL11 transaction).
    When you ask SAP to print it, it sends the file as is to the printer.
    Note: when you ask SAP to display the spool, SAP sends a request to ADS which will send back a PDF (binary stream which is not stored on disk, just displayed on frontend).
    How frontend printing works:
    If you want to print a normal spool via frontend, SAP doesn't know the language of the printer you will choose. SAP sends the spool in a format named SAPWIN to a frontend program named SAPLPD, it converts the SAPWIN format into GDI, a Windows format that is understood by all printer drivers, and it is sent to the printer driver (you have selected) which converts the GDI format into the printer language.
    Any workaround?
    First possibility would be that ADS converts the PDF into SAPWIN format (by creating an Adobe .XDC file at the ADS side). SAP says it's not possible in Note 685571 - Printing PDF-based forms. As I understand, SAPWIN is a very simple language compared to PCL for example, so it is very difficult to convert a PDF to SAPWIN without losing much information. There's a SAP note about the SAPWIN language if you want to check.
    Second possibility is to print directly the PDF through Adobe Reader: you get the PDF from ADS, download it to the frontend (easy), and execute directly Adobe Reader print function. Unfortunately, I don't know if it's possible. Moreover, we should enhance the standard SAP print dialog...
    Third possibility is the one I recommended at the beginning of this post

Maybe you are looking for

  • Software loops playing a different sample

    My friend has an issue with his Garageband 3, where any software loop will play correctly in the loop browser, but when dragged into the main screen, it will always play with a synth sound. I verified that he is dragging into a blank area (that says

  • Printing through a wireless print server

    I've got a Macbook running 10.4.11 that connects wirelessly to my home network. I recently purchased a Buffalo LinkStation Pro Duo NAS that has a built-in print server. I connected my printer to the NAS and can print wirelessly from all my PCs, but n

  • Automatic Purchase Order upon Goods Receipt 101/161

    Hi Guys, Hope everyone is well. I would like to know in as simple terms as possible, what is the use of Automatic Purchase Order upon Goods Receipt mvt 101 or 161. Can someone explain to me the purpose of this? or applicable in which type of business

  • Converting RoboHelp project from v.4.1 to 8

    I have problems with converting RoboHelp project created in RoboHelp Office for Word version 4.1 into RoboHelp for Word version 8. The project contains documents made in polish language. Project opens fine in new version of RoboHelp, but during help

  • I cannot start my g5 mac os x 10.4.11, startup light flashes six times

    I cannot start my Powermac g5, with OS X 10.4.11; startup light (which you can see under DVDrom drive) flashes six times; I have 4 GB RAM, I have tried to change the  memory bars in different position or remove 1 couple but no change; I have also tri