Re: How Can I Halt System.....

From: Jan Gerrit Kootstra (jan.gerrit_at_kootstra.org.uk)
Date: 11/11/05


Date: Fri, 11 Nov 2005 06:56:56 +0100

boobie wrote:
> Hello, 2 questions, pls help.
>
> RHEL3 (Taroon)
> I boot to command prompt (Level 5 ?), I then ssh from another PC.
>
> 1) Can I shutdown/halt the OS from the ssh client ?
> 2) I never logged into the console on the Linux box, so login prompt is on
> the console screen
> How can I shutdown/halt the system from here (w/o logging in) ?
>
>
> Thanks
>
>
Boobie,

Both actions are the same: login as root

at the prompt you give the command

shutdown -h now

Your system will halt, it will only turn off if you have a single
processor machine.

If you would upgrade to RHEL4, which gives you a 2.6 kernel you will see
that a shutdown -h now will turn your machine off.

Kind regards,

Jan Gerrit



Relevant Pages

  • Re: How Can I Halt System.....
    ... > 2) I never logged into the console on the Linux box, so login prompt is on ... processor machine. ... that a shutdown -h now will turn your machine off. ...
    (linux.redhat)
  • Re: SetConsoleCtrlHandler
    ... My company has a customer who is attempting to run a package we released ... NT 4 Server years ago now on a W2K Server. ... console and asked me what the problem was. ... the event is triggered and the program initiates a shutdown. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Remote Desktop to XP Pro Problems
    ... "console" shouldn't matter much one way or another (Vista and Longhorn ... reserve the console session, session 0, for services; ... behavior of RDP sessions set in the Terminal Services portion of GP? ... There are numerous other ways to shutdown ...
    (microsoft.public.windows.terminal_services)
  • Solaris 10 11/06 x86_64: almost impossible to shutdown the system
    ... After upgrade to 11/06 it became almost impossible to shutdown the ... I do not have console login avaiable when this ... so I can type "poweroff" from there - machine ... Single user mode also doesn't work. ...
    (comp.unix.solaris)
  • Re: Console - Serial Port - tty
    ... And not in multi user mode. ... Console - Serial Port - tty ... Have you placed a breakout box on the console port to make sure you are ... But still can't get login prompt after all services started. ...
    (AIX-L)