login as root

Joined
Jun 1, 2005
Messages
184
Reaction score
0
Points
16
How do you log in as root on the mac, in Terminal?

What is the default root password?

How do you change the root password?

Thanks!

Smesh
 
Joined
Feb 2, 2004
Messages
12,455
Reaction score
604
Points
113
Location
PA
Your Mac's Specs
MacBook
smeshy123 said:
How do you log in as root on the mac, in Terminal?

There are a couple of ways to enable root access. One is to use NetInfo Manager to permanently enable the root account. This is only really necessary if you are developing software or some other task that would require constant access to root.

The second approach is for those situations where you need temporary access to root, such as on a system you wish to keep secure. In this case, use the sudo command in Terminal to either execute a single command as root or to get a root login prompt. Details are in the man page for sudo: type "man sudo" in Terminal to see the documentation.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top