www-data
www-data@bashed:/tmp$ sudo -l
matching defaults entries for www-data on bashed:
env_reset, mail_badpass,
secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/bin
user www-data may run the following commands on bashed:
(scriptmanager : scriptmanager) NOPASSWD: ALL
The www-data
user IS the scriptmanager
user
I can execute any command as the scriptmanager
user