Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Logging in as root in 10.1 System
The ability to log in as root (versus using 'su' in the terminal) still exists in 10.1, but the mechanism is better hidden than it was in previous OS X releases. In my opinion, that's a Good Thing, as you should probably be logging in as root only if you really really know what you're doing. But enough of the lecture on the dangers of root...

To login to OS X 10.1 as root, first login as your normal Admin user. In the Login pane, click the Login Window tab, and then check the box that reads 'Show "Other User" in list for network users'. Logout after saving the change. When the login box reappears, you'll see "Other User" as an option. Click it, and you can enter "root" as the username followed by the root password.

In over a year of OS X usage, I have not yet had to login to the system as root to accomplish any tasks. But if you do need to (and there are some valid reasons), this is how it works in 10.1.
  • Currently 3.67 / 5
  You rated: 1 / 5 (3 votes cast)

Logging in as root in 10.1 | 4 comments | Create New Account
Click here to return to the 'Logging in as root in 10.1' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Hiding users?
Authored by: sjonke on Oct 09, '01 04:26:46PM

By default OS X does not even enable the root account, which is a good thing. Anyway, what I want to know is, is there a way to make certain Users not show up in the login window? I like having pictures in the login window ala OS 9, but the admin account(s) show up too. I'd like those to only be accessible via the Others... item (and thus only by typing in the user name as well as the password.)

[ Reply to This | # ]
Hiding users?
Authored by: Jadey on Oct 09, '01 09:59:04PM

Nope, either you have icons shown for all users, or all users have to type in their username & password.

[ Reply to This | # ]
Hiding users?
Authored by: babbage on Oct 10, '01 01:36:58PM

Hrm. Is this a definitive, final answer? I want our iMac to work such that my fiance & I can log
in graphically -- I don't want to make her have to keep track of a UN/PW combination if I can
help it -- but at the same time I don't want anyone to be tempted to log in as MySQL, Postgres,
etc. I'd love to figure out a fine-grained way to address this like other X-Windows login
mechanisms provide...

[ Reply to This | # ]
Hiding users?
Authored by: percy on Oct 10, '01 03:37:52PM

I can't say anything definite, I'm sorry to say; but if there's any solution, it will probably be from within NetInfo. There's a link to a NetInfo manual on the links page on this site.
But I do believe that there is a possible solution. Sure, Apple could have used a hack to hide www, daemon, root, etc., but why do that instead of specifying a NetInfo solution?

[ Reply to This | # ]