$ sudo reboot
Sorry, user fuckingfreaky is not allowed to execute 'reboot' as root on cerebellum.# 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
User_Alias USERSAPAGAR = fuckingfreaky
# Cmnd alias specification
Cmnd_Alias APAGAR = /sbin/halt, /sbin/reboot
# Defaults specification
# Reset environment by default
Defaults env_reset
# Uncomment to allow people in group wheel to export variables
# Defaults:%wheel !env_reset
# Allow people in group users to export specific variables
# Defaults:%users env_keep=TZ
# Runas alias specification
# *** REMEMBER ***************************************************
# * GIVING SUDO ACCESS TO USERS ALLOWS THEM TO RUN THE SPECIFIED *
# * COMMANDS WITH ELEVATED PRIVILEGES. *
# * *
# * ONLY PERMIT SUDO ACCESS SPARINGLY, AND NEVER ALLOW ACCESS TO *
# * UNTRUSTED USERS. *
# ****************************************************************
# User privilege specification
root ALL=(ALL) ALL
USERSAPAGAR ALL = NOPASSWD: APAGAR
# 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