change root passwrd

I have change the root password by using this command in terminal

sudo passwd root

then i change it to a new one

and i can login to terminal as a root and that just what I want,

then i notice there is user to be logged in on my mac when I restart it there is me as an administrator and 'other' when I click to other I see that I can put a username and password to logged in my device !! how this could happen!!

And what I have to do to remove that option when I log in

MacBook Pro 13", macOS 10.13

Posted on Nov 4, 2019 7:35 PM

Reply
4 replies

Nov 4, 2019 10:49 PM in response to rehab240

rehab240 Said:

"then i notice there is user to be logged in on my mac when I restart it there is me as an administrator and 'other' when I click to other I see that I can put a username and password to logged in my device !! how this could happen!! And what I have to do to remove that option when I log in"

-------


That's the Root User Login Window:

Having enabled Root user, this login is going to popup. IOW: That login is for the Root user.. Hide the Root user, and that login will not show up. So, stay away from Root user, to prevent any mishaps from being made.

Nov 5, 2019 5:57 AM in response to rehab240

That is a really bad idea


If you wanted to run around a Terminal session as root, then you just


sudo su -


and you are a root Terminal session user, without allowing script kiddies to probe your system for root access. Since you have enabled root it is possible someone will guess your root password, because they try all the time on the internet to probe systems for root access.


Finder -> Go -> Goto Folder ->

/System/Library/CoreServices/Applications/Directory Utility

Nov 4, 2019 10:32 PM in response to rehab240

At that login does this work?


Log in as the root user

When the root user is enabled, you have the privileges of the root user only while logged in as the root user.

  1. Choose Apple menu > Log Out to log out of your current user account.
  2. At the login window, log in with the user name ”root” and the password you created for the root user.
  3. If the login window is a list of users, click Other, then log in.


https://support.apple.com/en-us/HT204012

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

change root passwrd

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