LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Limiting sudo su -? (http://www.linuxquestions.org/questions/linux-newbie-8/limiting-sudo-su-410341/)

RickAOTC 02-01-2006 06:51 AM

Limiting sudo su -?
 
Hi,

I have sudo set up on my systems.

Unfortunately when I have consultants working on the systems they don't use sudo, rather the first thing they do is sudo su - to root!

Is there a way to limit this command to specific accounts?

Thanks.

ethics 02-01-2006 06:56 AM

Why do external consultants (is that correct?) have your root passwords? change the root password, setup sudo for their accounts.

If you dont want to for somereason you could change the owners(group and probably owner) of su and put all those who need to su into that group, then allow owner/group to execute but not the rest of the world.

Just some suggestions

RickAOTC 02-01-2006 07:28 AM

They are external consultants, yes.

They need root access to the systems occassionally, for when a mail application (these are mail servers running RHEL 3 update 5) fails or requires maintenance to fix a bug or anomoly.


All times are GMT -5. The time now is 02:58 AM.