[prev in list] [next in list] [prev in thread] [next in thread]
List: sudo-users
Subject: Re: Problems with sudo and PATHS
From: "Todd C. Miller" <Todd.Miller () courtesan ! com>
Date: 2002-02-13 16:27:26
Message-ID: 200202131627.g1DGRQTG003638 () xerxes ! courtesan ! com
[Download RAW message or body]
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@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 ?
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic