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

Pidugu Vijaya Vijaya.Pidugu at sig.com
Tue Jul 3 08:02:22 EDT 2007


No. That would be a big security risk.



----- Original Message -----
From: sudo-users-bounces at courtesan.com <sudo-users-bounces at courtesan.com>
To: Todd C. Miller <Todd.Miller at courtesan.com>
Cc: sudo-users at sudo.ws <sudo-users at sudo.ws>
Sent: Tue Jul 03 07:53:12 2007
Subject: Re: [sudo-users] Find out which sudoers file is been used

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
>
____________________________________________________________ 
sudo-users mailing list <sudo-users at sudo.ws>
For list information, options, or to unsubscribe, visit:
http://www.sudo.ws/mailman/listinfo/sudo-users


IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments.  Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited.  Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument.  Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.



More information about the sudo-users mailing list