A sudoers szerkesztésével próbálkoztam (és újra akartam indítani), de ez lett az eredménye:
KÓD
thomas@darkstar:~$ sudo init 6
Password:
sudo: init: command not found
thomas@darkstar:~$
a sudoers fájlom pedig így néz ki:
KÓD
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
Host_Alias LOCAL = localhost,darkstar
# User alias specification
User_Alias SUUSR = thomas
# Cmnd alias specification
Cmnd_Alias HALT=/sbin/init "",/sbin/init
# Defaults specification
# Runas alias specification
# User privilege specification
root ALL=(ALL) ALL
SUUSR LOCAL=(root) NOPASSWD: HALT
# Uncomment to allow people in group wheel to run all commands
# %wheel ALL=(ALL) ALL
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now
Mi lehet a hiba? És azt sem értem, hogy elvileg nem szabadott volna jelszót kérnie

(shutdown csoportom pedig nincsen, de ez a sudoers-es megoldás kéne inkább)