Date: Fri, 10 Dec 2010 14:20:11 +0600 From: Eugene Grosbein <egrosbein@rdtc.ru> To: Adam Vande More <amvandemore@gmail.com> Cc: freebsd-stable@freebsd.org Subject: Re: /sbin/reboot Message-ID: <4D01E2BB.1070609@rdtc.ru> In-Reply-To: <AANLkTimEvQ7amDeFE9eG%2BO9G664jXAWb9hhSt0bU%2B3DR@mail.gmail.com> References: <AANLkTinD3UZU6o-gf5J1B7CXp7DR1%2BJQvzbi9VJYmM8P@mail.gmail.com> <20101210051058.353747BF861@drugs.dv.isc.org> <AANLkTimEvQ7amDeFE9eG%2BO9G664jXAWb9hhSt0bU%2B3DR@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10.12.2010 11:35, Adam Vande More wrote: >> Why would you want it to be? One really shouldn't be running /sbin/reboot >> directly as part of normal operations. shutdown does a graceful reboot if >> and when operators need to perform reboot. >> > > AFAIK, the only functional difference between the two is shutdown(8) > notifies other logged in users of the impending shutdown. I've used > reboot(8) for a long time with no ill effects so I'd be interested to hear > what you meant there. Since an operator can use shutdown(8) to initiate the > same shutdown sequence reboot(8) uses, it wouldn't seems to be a security > based decision. In short, one should use reboot/halt from single user mode to avoid calling shutdown command sequences for non-running services. For multi-user one should use shutdown to not miss these sequences. Eugene Grosbein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D01E2BB.1070609>