Sziasztok!
van egy sudoers file-om:
# sudoers file.
#
# This file MUST be edited with the ‘visudo’ command as root.
#
# See the man page for details on how to write a sudoers file.
#
# Host alias specification
Host_Alias NEO=neo
# User alias specification
# Cmnd alias specification
Cmnd_Alias LEALLIT = /sbin/shutdown -h now
Cmnd_Alias UJRAINDIT = /sbin/shutdown -r now
# User privilege specification
root ALL=(ALL) ALL
lionelqw NEO = NOPASSWD: LEALLIT, UJRAINDIT
az a gondom, ha lionelqw-ként futtatnám a ‘sudo leallit’, akkor jelszót kér.
miért?
ha meg megadom a root jelszavát, azt mondja nem jó.
:blush: :blush: :blush: :blush: :blush: :blink: 🙁
legutóbbi hsz