active sudoers file

2007-12-25 6:23:00

Hi Sun Managers

How do I determine which 'sudoers' file is active on the system?

Some servers have /etc/sudoers and some others use /usr/local/etc/sudoers

sudo -V does not tell me which sudoers location it is using for
configuration.

I am trying to add a userid to the sudoers on many servers, however the
location differs from server to server.

Thanks
Johnny

Comments

Got something to say?

You must be logged in to post a comment.