Re: turn off FreeBSD 5.1 machine? completely?
On Saturday 10 January 2004 14:23, hugle wrote: Hello all. How can I turn off machine completely? cause it waits for CTRL+D of root pass.. shutdown -p now ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: turn off FreeBSD 5.1 machine? completely?
On Sat, Jan 10, 2004 at 03:23:04PM +0200, hugle wrote: How can I turn off machine completely? cause it waits for CTRL+D of root pass.. From multiuser state (ie. the normal operating state) become superuser and use the command: # shutdown -h now then wait until the system is down announcement, when you can hit the power button without fear of damaging the filesystems. Alternatively, and only if you have support for apm or acpi in your kernel and a compatible motherboard, you can type: # shutdown -p now which does exactly the same as 'shutdown -h' but goes on to power down the system automatically. This is safe to use if your system doesn't have the appropriate support -- it just halts the system but fails to either power down or (I think) tell you that the system is down. As it is, your system is waiting for the root password before it goes into single user mode -- you would get to that state either by typing plain 'shutdown' without, or by hitting the power button while the system was running, being unlucky enough to cause filesystem damage bad enough that the system can't automatically fix it, and then attempting to power on again and reboot. That it asks for a password then is due to changing the console entry in /etc/ttys from 'secure' to 'insecure'. Your choices are either to give the root password, which gets you into single user mode, or to hit Ctrl-D, which will cause the system to boot back into multiuser. Either way, once you've got to a shell prompt, then use the shutdown command as above to bring the system down cleanly. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: turn off FreeBSD 5.1 machine? completely?
On Sat, 10 Jan 2004 15:23:04 +0200, hugle [EMAIL PROTECTED] wrote: How can I turn off machine completely? If you have the folowing in your dmesg: acpi0: Power Button (fixed) just push the powerbutton once and you'll get a clean shutdown. -- Heine Aarbø [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: turn off FreeBSD 5.1 machine? completely?
Matthew Seaman wrote: On Sat, Jan 10, 2004 at 03:23:04PM +0200, hugle wrote: How can I turn off machine completely? cause it waits for CTRL+D of root pass.. snip Alternatively, and only if you have support for apm or acpi in your kernel and a compatible motherboard, you can type: # shutdown -p now which does exactly the same as 'shutdown -h' but goes on to power down the system automatically. This is safe to use if your system doesn't have the appropriate support -- it just halts the system but fails to either power down or (I think) tell you that the system is down. You think correctly, according to my experience. A box (running 5.X) that doesn't support apm/apci simply acts as if you called -h instead of -p. A Good Thing. Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]