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

Stanley, Jon Jon.Stanley at savvis.net
Tue Jul 3 08:53:56 EDT 2007


Actually you can change it by recompiling sudo.  However, there is not a
way to change an existing binary, correct. 

-----Original Message-----
From: sudo-users-bounces at courtesan.com
[mailto:sudo-users-bounces at courtesan.com] On Behalf Of Pidugu Vijaya
Sent: Tuesday, July 03, 2007 8:02 AM
To: poonamdp3 at gmail.com; Todd.Miller at courtesan.com
Cc: sudo-users at sudo.ws
Subject: Re: [sudo-users] Find out which sudoers file is been used

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.
____________________________________________________________ 
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



More information about the sudo-users mailing list