root user and localhost?

The root user itself has a locked password by default, which basically means you can't log in as "root". The best thing to do is use sudo to execute commands as a root user, such as `sudo bash` to start a bash shell as root. If you really want to enable root (why, I have no clue, as you should never log in as root, but, you might have some issue that requires it, but most everything can be done via sudo) there is a tech article on Apples support site on how to do it, don't have the exact link handy.

As to the localhost issue, I assume you meant why isn't http://localhost/... working? If you indeed meant http://local/... that won't work. localhost should work, if it's not, you might want to check in the netinfo setup for hosts and make sure its in there.

Brian
 
And IP-address 127.0.0.1 is so called loopback-address which points to your computer from inside, namely localhost...
 
I am not sure how Mac OS X does this, however with actual BSD and Linux distros you simply type su - and type the password... you can also do sudo which will do the same thing...

Do you remember ever setting a password for root? you should be able to by typing "passwd root".

During install this password should have been set though...
 
Apple does not create a root account by default in Mac OS X. In fact, you need to enable root in the NetInfo Manager. As this tend to lead to areas which Apple would generally rather not have users, I leave it to you to figure out the rest (doing a search of this site should give you the procedure you want).
 
Note that if you are not connected to a network, then IE will refuse to reckognise localhost because it is too stupid to resolve the name itself ... works fine in Mozilla and Chimera (the two I use for web development on the go) ... if you *really* have to use IE, then you'll have to stick to using the numeric IP.

C
 
Back
Top