I'm guessing that reboot != shutdown -r now. Try running:
sudo shutdown -r now
Uh. no. Last time I checked, it wasn't even close.
The story I've always heard is that you shouldn't run halt or reboot
yourself. Those are run by shutdown as the last thing it does. shutdown
unmounts all of
Joe Emenaker writes:
If you just call halt yourself, you're probably going to get some
filesystem curruption.
Unless you are an old Unix hacker, in which case you will type
'sync; sync; halt'.
--
John HaslerThis posting is in the public domain.
[EMAIL PROTECTED]
On Fri, 11 Dec 1998, shaul wrote:
[01:53:38 shaul]$ sudo -l
You may run the following commands on this host:
(root) /sbin/halt
(root) /sbin/shutdown -r now
(root) /sbin/shutdown -h now
[01:55:14 shaul]$ sudo reboot
Sorry, user shaul is not allowed to execute
[01:50:34 shaul]# cat /etc/sudoers
# sudoers file (/etc/sudoers).
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
##
# Cmnd alias specification
##
On Fri, 11 Dec 1998, shaul wrote:
[01:53:38 shaul]$ sudo -l
You may run the following commands on this host:
(root) /sbin/halt
(root) /sbin/shutdown -r now
(root) /sbin/shutdown -h now
[01:55:14 shaul]$ sudo reboot
Sorry, user shaul is not allowed to execute /sbin/reboot as
5 matches
Mail list logo