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

Create a multiuser text-only networked OS X system System
So you want to boot into a non graphical, multi-user Mac OS X command line interface, eh?

The single-user command line is where we'll start, but first we need to create a script to make our single-user darwin into the multi-user darwin system that we are after. So we'll make a copy of /private/etc/rc, and rename it to something like /private/etc/rc.mu. Next, open this new file in your favorite text editor and scroll all the way to the second to last line that says:
SystemStarter -g ${VerboseFlag} ${SafeBoot}
This is the only line we will edit. We want a text boot, so we will remove the -g (graphical boot) flag, to make the line look like this:
SystemStarter ${VerboseFlag} ${SafeBoot}
Now its time to reboot your system while holding Command-S to boot to a single user, root system. Once you get to the prompt, type sh /private/etc/rc.mu and watch all the pretty startup text fly by. This brings up everything a normal Mac OS X startup would, except for bringing up Aqua.

Once everything is done scrolling, you'll be brought back to the prompt. At this point NetInfo has been brought up, so you can log into your normal user. To do this type login at the prompt, type your user name and password when asked to do so, and ... poooof! There ya go, you've got a multi-user, text-only networked system at your disposal.

[robg adds: I have not tested this one...]
    •    
  • Currently 2.25 / 5
  You rated: 3 / 5 (4 votes cast)
 
[10,139 views]  

Create a multiuser text-only networked OS X system | 9 comments | Create New Account
Click here to return to the 'Create a multiuser text-only networked OS X system' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a multiuser text-only networked OS X system
Authored by: rael9 on Jul 16, '03 01:13:55PM

Is there any difference between this and just typing >concole as the username at the login window?

---
"Beer, the cause of, and solution to, all of life's problems." - Homer J. Simpson



[ Reply to This | # ]
Create a multiuser text-only networked OS X system
Authored by: wallyfoo on Jul 16, '03 01:47:17PM

Yes. Though I haven't tested this hint, either, it should work as advertised and never boot the aqua window manager at all. No login window to type '>console" in at all.
Have you ever booted into a *nix box that wasn't OS X? This hint would bring up the command line and nothing else, similar to other *nixes that don't have a mindow manager in the boot sequence.
What I want to know is this: What would be the command to exit the command line and boot aqua? Or would you have to revert the rc file and start over?

---
_____________________________
My other sig is really witty.



[ Reply to This | # ]
Create a multiuser text-only networked OS X system
Authored by: EatingPie on Jul 16, '03 05:01:31PM
What would be the command to exit the command line and boot aqua? Or would you have to revert the rc file and start over?

I broke this out because it's a good question.

I do not know about exiting and getting to aqua without a reboot. My educated guess is that it's not possible because "SystemStarter" is already run.

But, because you copied the rc file, you don't need to revert anything, just reboot and you're up and running like normal again.

---
-Pie


[ Reply to This | # ]

Create a multiuser text-only networked OS X system
Authored by: EatingPie on Jul 16, '03 05:02:58PM

Okay I didn't break it out... But I meant to!

D'oh.

---
-Pie
<http://www.storybytes.com>



[ Reply to This | # ]
Without Command-S???
Authored by: iu-macboy on Jul 16, '03 05:34:52PM
This is a great hint!
Although it requires you to hold down Command-S on boot. Is there a better way to do this without the need for user intervention (in the event that the box needs rebooted remotely)??????

---



[ Reply to This | # ]

Without Command-S???
Authored by: dmmorse on Jul 16, '03 06:44:07PM

After making a copy of the rc file, modify the original instead of the copy. That way, your box will automatically boot up without the GUI. Then, in order to get the GUI, you must boot into single user mode and start up the unmodified rc file.



[ Reply to This | # ]
isn't this a dupe?
Authored by: Usr bin Login on Jul 16, '03 07:29:51PM
This looks a lot like this older hint:
Disable Aqua on bootup for server use

---
--------


QA implies some sort of quality to begin with.

[ Reply to This | # ]

Create a multiuser text-only networked OS X system
Authored by: wOOge on Jul 17, '03 09:40:52AM

you can return to the loginwindow by typing:

exit

or logout...

something like that. but it is possible without restarting. :)
great tip btw!



[ Reply to This | # ]
Create a multiuser text-only networked OS X system
Authored by: endocet on Jul 18, '03 07:45:01PM

i made an error when typing this
when executing the new shell script you have to type

sh /private/etc/rc.mu multiuser

rather than

sh /private/etc/rc.mu

sorry for the error!



[ Reply to This | # ]