Change root password mac 10.5

Oh, I know this is massively past now, but I spend all day working in SSH onto dozens of customer machines, and we make extensive use of the root user. It's not insane to require an extra - different - password to authenticate for root access. There's good reasons why even unix admins use root instead of sudo, and while it's entirely appropriate to warn the majority of Mac OS X users to not enable root this attitude that anyone who does is a moron and will instantly be compromised is stupid and wrong.

From the command line use dsenableroot Note that it can easily disable the root user too. I always enable the root user and set a secure password as one of the first configuration stages on any new system.

Then I immediately disable the root account. That way there's a non-default password required for any root account use, and with the account disabled by default it is the most secure possible arrangement.


  • Sous mac OS X 10.5 (Leopard) et Mac OS X 10.6 (Snow Leopard);
  • All replies.
  • Subscribe to RSS.
  • amule mac os x 10.9?
  • Delete a user!
  • magellan explorist 400 software mac.
  • How to reset admin password on Mac OS X?

If any non-root account is compromised, the intruder would still have to guess or subvert a secure root password, instead of finding a password-less root account. I'm fairly sure OS X uses the standard Unix method of setting the encrypted password to something that can never be produced by crypt , so that no password can ever match.

If that's so, you don't need to bother While I'm here, does anyone know how to change root's shell?

tilasloasound.tk

Reset Mac Password the Easy Way | Big Mac on Campus

I hate bash :. I can see a big reason for wanting to know where the Root is. That being the problem with Leopard not always retaining Admin accounts when it is installed. While you can easily put a password on the SA account then reboot to change the "Standard" user back to Admin, you might not want to leave Root accessable. Now I know how to turn off the Root user access without having to muck about with Terminal. Perhaps this is no longer needed. Lost your password? Powered by the Parse. You may have to unlock Directory Utility to make changes.

Voila, you can now use the root user, and the 'Other Users' option now shows up on the login window. I haven't ever really needed root in The following comments are owned by whoever posted them.

This site is not responsible for what they say. Oops, should have read your comment first. I see you mentioned the same method. As a Linux user as well as Mac user , I have had my share of dealings with the root user.

Changing root password in mac

If used properly and with a little extra thought, it's not a problem. Used carelessly, it can be disastrous.

How To Reset Your Password Without A System Disk [OS X Tips]

Ended up deleting my entire OS. It was a test box, so no worries, but could have been a tragedy had it been a more important system. Why are you people only concerned about what YOU might do? The password isn't set to anything or to some null equivalent by default and so the user cannot be used.

Setting the password to anything enables the user. Not as simple as the method the hint shows, but if you're using the root user, you should be comfortable with the Terminal anyway!

How to Add a User From Terminal Mac OS X Screen Sharing

You can also manage the root user from the "Directory Utility" found in the Utilities folder. Both of these menu options are available to manage the root user account. I'll accept your challenge I have an empty admin password and Please don't lecture me about empty passwords. See my thread here for my reasons I hate bash : [ Reply to This ]. Search Advanced. From our Sponsor Latest Mountain Lion Hints Ask Question. Asked 6 years, 1 month ago. Active 4 years, 10 months ago. Viewed 39k times. I don't have other Mac OS X computer.

I only have other laptops which run on Windows. Start it in Verbose mode! Verbose mode doesn't work I tried it AppleSetupDone reboot At this point the system will reboot and go through the "out of the box" setup process which will allow you to create a new Admin account. This solution worked: Hold command-S on startup. Run dscl. Run reboot. Lri My Most Embarrassing Mistakes as a Programmer so far. The Overflow Newsletter 3 — The 75 lines of code that changed history. Featured on Meta.

Feedback post: Moderator review and reinstatement processes. Post for clarifications on the updated pronouns FAQ.