I am having an issue with sudo on RHEL.
I have a domain account that has been given sudo rights. However I cannot sudo commands (e.g. sudo netstat -ltnup | grep -E ':80') unless
its a sudo su - command.
The resulting error is as follows:
Sorry, user [abc] is not allowed to execute '/bin/netstat -ltnup as root on [hostname.domain]
Can anyone offer a solution please?