Problems with sudo and PATHS

Todd C. Miller Todd.Miller at courtesan.com
Wed Feb 13 11:27:26 EST 2002


That's because sudo doesn't try to parse command line arguments
(other than doing glob expansion).  Sudo has no way to know what
command line argument is or is not a pathname.

 - todd

In message <OF33104362.423CE2FA-ON00256B5F.00402FEB at ft.com>
	so spake  (Benjamin.Cuthbert):

> we have just installed sudo on our solaris 2.8
> and the one problem i have is , that
> 
> if i have sudo ALL
> 
> i am able to to do
> 
> sudo touch /testme
> sudo rm /testme
> 
> but when i have defined a user with permissions to only do rm in
> /opt/customer
> 
> when he does this
> 
> cd /opt/customer
> sudo touch testme
> 
> Access denied
> 
> but if i do
> 
> sudo touch /opt/customer/testme ,
> 
> i am able to do it
> 
> Why ?



More information about the sudo-users mailing list