How do I login (in the terminal) as the administrative user?

How do I login (in the terminal) as the administrative user? I am running as user and am trying to use a sudo command in the terminal. My administrative password is not accepted. Running OS 10.14.


BTW: Same question as that one from RJLJP posted on Nov 12, 2018 6∶45 PM


All answers weren't useful, unfortunately. Seems I need the root password, which I don't know.


[Re-Titled by Moderator]










iMac 27", macOS 10.14

Posted on Dec 7, 2019 12:28 PM

Reply
35 replies

Dec 8, 2019 2:55 PM in response to hexerik

In that case it seems you agree with Apple in that being root is "nice... but not necessary" 🙂


When macOS went rootless it caused me concern as well, until I realized I could still do everything I needed to do, which includes some fairly obscure tasks of interest to no one else. Those tasks would probably be better on some other platform anyway.

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.

How do I login (in the terminal) as the administrative user?

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