I have the following problem
When I'm trying to execute ls
as user abc
with the following command I get an error:
xyz@host:~/temp$ sudo -u abc ls
[sudo] password for xyz:
Sorry, user xyz is not allowed to execute '/bin/ls' as abc on host.
But if I do su abc
and then execute ls
I have no problem
Can anyone help?