[sudo-users] Problem with sudo and chown command.

christian.peper at kpn.com christian.peper at kpn.com
Tue Apr 8 03:13:03 EDT 2008

> -----Original Message-----
> From: sudo-users-bounces at courtesan.com 
> [mailto:sudo-users-bounces at courtesan.com] On Behalf Of Sebby
> Sent: Thursday, April 03, 2008 9:32 AM
> To: sudo-users at sudo.ws
> Subject: [sudo-users] Problem with sudo and chown command.
> Dear All!
> I have a problem with sudo.
> I give command sudo chown dba:gdba /u00/oradata/test and this 
> not worked.
> In sudoers I was defined olek ALL=(root) NOPASSWD:/usr/bin/* 
> /u00/oradata/*


Try to debug sudo with 'sudo -l'. That will give you a list of the
rights of the current user.

Also, it might not be a problem with sudo but with your $PATH variable.
Perhaps the user simply can't find the chown command. Sudo just tells
you what you *can* do, not where to find it. ;)

PS: please include your error statement next time. That helps us figure
out what's wrong. :)

More information about the sudo-users mailing list