sudoer sudo bez hasła nopassword
#RECOMMENDED
cp /etc/sudoers /root/sudoers.bak
visudo
leonard ALL = NOPASSWD: /bin/systemctl restart httpd.service, /bin/kill
#NOT RECOMMENDED
cp /etc/sudoers /root/sudoers.bak
visudo
leonard ALL=(ALL) NOPASSWD:ALL
#TEST
sudo ls -ls /root
DreamCoder