Skip to content
Advertisement

Tag: hashcat

How to allow user www-data use sudo commands without password

I want to allow run specify command on my website, through PHP exec() function, so i found the way, to add www-data in sudoers.d files to allow run specify commands without asking password. I tried next things: check where is program catalogue whereis hashcat -> hashcat: /usr/bin/hashcat Add a new file to sudo visudo /etc/sudoers.d/www-data and add next line www-data

Advertisement