Multiple sudoers under /etc, what does visudo point to?

JockVSJockJockVSJock Member Posts: 1,118
So I ran into this today at work. I had to give someone an account on the dev box, DBA type. They wanted root access, I said lets settle for sudo privilege first.

When I went to add the DBA into sudo, there are multiple sudoers files under /etc. Looks like all are difference file size along with time/date stamp. I wasn't expecting this at all.

My question is how do I know when using /usr/bin/visudo, that it is editing the correct file?
***Freedom of Speech, Just Watch What You Say*** Example, Beware of CompTIA Certs (Deleted From Google Cached)

"Its easier to deceive the masses then to convince the masses that they have been deceived."
-unknown

Comments

Sign In or Register to comment.