[Comm] ALT Linux 2.4 Master -> почти Live CD
Владимир Гусев
=?iso-8859-1?q?vova1971_=CE=C1_narod=2Eru?=
Ср Мар 1 15:08:42 MSK 2006
>>> 5. не заходить рутом :)
>> Но юзеру не дают сделать halt. А мне нужно.
> Настроить sudo.
[root на vova root]# cat /etc/sudoers
# 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
# User alias specification
# Cmnd alias specification
# Defaults specification
# User privilege specification
#root ALL=(ALL) ALL
ALL ALL=NOPASSWD:/sbin/poweroff,/sbin/reboot
--
С уважением, Владимир Гусев
Подробная информация о списке рассылки community