[sudo-users] Find out which sudoers file is been used

Poonam Pandey poonamdp3 at gmail.com
Tue Jul 3 07:53:12 EDT 2007


Can I change it to use sudoers from the location I want and if yes how?

On 7/3/07, Todd C. Miller <Todd.Miller at courtesan.com> wrote:
>
> In message <3f5fb1ce0707030233n6de8e9bcx2b71322f85d5bd3d at mail.gmail.com>
>        so spake "Poonam Pandey" (poonamdp3):
>
> > I have sudo installed on my machine but it is not using the sudoers file
> at
> > the standard location /etc/sudoers.
> > Instead it is using the sudoers file from some other location.
> > If sudo is installed on the machine, how can I find out the location
> from
> > which it is using the sudoers file.
>
> Try this (you may need to be root)
>    strings /path/to/sudo | grep /sudoers
>
> where "/path/to/sudo" is /usr/bin/sudo, /usr/local/bin/sudo
> or whereever it is installed.
>
> - todd
>



More information about the sudo-users mailing list