-   Linux - Newbie (
-   -   Limiting sudo su -? (

RickAOTC 02-01-2006 06:51 AM

Limiting sudo su -?

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?


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 11:49 AM.