Re: how to shut down headless Mac
- From: Jolly Roger <jollyroger@xxxxxxxxx>
- Date: Mon, 21 Apr 2008 11:05:32 -0500
In article
<magdalenabung-681AE3.10133321042008@xxxxxxxxxxxxxxxxxxxxxx>,
magdalena <magdalenabung@xxxxxxxxxxx> wrote:
In article <vSYOj.905$PM5.349@edtnps92>,
johnny bobby bee <useraddshine-no_spam_eh@xxxxxxxx> wrote:
magdalena wrote:
Do I select the G4 in the sidebar first, while I'm still connected to
it, then fire up Terminal, or doesn't it matter about selecting it?
Needs to be done in Terminal. You need to connect to the G4 using SSH.
Then shutdown -h now to halt, shutdown -r now to reboot.
If I
type what you typed, won't it just shut down the MacBook Pro?
Yes.
Michelle Steiner suggested control-eject, then enter (from a keyboard
connected to the G4). Much quicker and easier, and it worked for me!
Note that this will work only when you have physical access to the
headless computer.
And it may not be as convenient as simply issuing a command from another
computer.
But thanks for your other option!
Note that you must enable System Preferences > Sharing > Remote Login on
the headless computer before you'll be able to connect to it from
another Mac using the command-line 'ssh' tool. This is how it works:
1. Issue the SSH command to connect like this (where username is the
user name of aan account on the headless computer, and ip_name is the IP
address or host name of the headless computer):
ssh username@ip_name
The system will prompt for your password.
2. If you are not in an administrator account, use the 'su' command to
switch to an administrator account:
su adminname
The system will prompt for the administrator password.
3. Issue the shutdown or restart command as root:
Shutdown: sudo shutdown -h now
Restart: sudo shutdown -r now
sudo reboot
--
Please send all responses to the relevant news group. E-mail sent to
this address may be devoured by my very hungry SPAM filter. I do not
read posts from Google Groups. Use a real news reader if you want me to
see your posts.
JR
.
- Follow-Ups:
- Re: how to shut down headless Mac
- From: magdalena
- Re: how to shut down headless Mac
- References:
- how to shut down headless Mac
- From: magdalena
- Re: how to shut down headless Mac
- From: Heath Raftery
- Re: how to shut down headless Mac
- From: magdalena
- Re: how to shut down headless Mac
- From: johnny bobby bee
- Re: how to shut down headless Mac
- From: magdalena
- how to shut down headless Mac
- Prev by Date: Re: Tivo to Macbook
- Next by Date: Re: Permissions
- Previous by thread: Re: how to shut down headless Mac
- Next by thread: Re: how to shut down headless Mac
- Index(es):
Relevant Pages
|