Sudo

Example config

muh   localhost=(ALL) NOPASSWD:/sbin/reboot
  • User root can execute the command /sbin/reboot from localhost as ALL users without being prompt for a password