[sudo-users] Giving access to one app for all users

Paul Thompson p_thompson at mac.com
Fri May 19 15:05:25 EDT 2006


On 18-May-06, at 5:01 PM, Bob Proulx wrote:

> Paul Thompson wrote:
>>   When I modified the sudoers file, I cd to /etc and then
>> authenticated as root before I ran visudo -f /etc/sudoers to modify
>> the file.
>
> You are editing /etc/sudoers.
>
> The visudo command should have the path already compiled into it.  You
> should be able to simply run visudo and edit the file without having
> to go to a particular place and specifying the filename directly.
>
>   sudo visudo
>
>> Pirates-Cove:~ paul$ strings /usr/bin/sudo | grep sudoers
>> ...
>> /private/etc/sudoers
>> ...
>
> Looks to me like your sudo command is compiled to use
> /private/etc/sudoers and not /etc/sudoers.  Don't you agree?
>
> Bob

   Okay, here's the part where I show my limited knowledge, but I  
thought that the etc folder lived in the /private directory.  Is it  
possible that it is different on your system?  Or my system might  
have a problem.

   Paul



More information about the sudo-users mailing list