Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-01-2006, 07:51 AM   #1
LQ Newbie
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
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?

Old 02-01-2006, 07:56 AM   #2
Senior Member
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
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
Old 02-01-2006, 08:28 AM   #3
LQ Newbie
Registered: Sep 2005
Posts: 2

Original Poster
Rep: Reputation: 0
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Restricting Editing in Sudo (Advanced Sudo Question) LinuxGeek Linux - Software 4 11-04-2006 04:20 PM
limiting kget alaios Linux - Networking 1 08-01-2005 04:35 AM
Limiting no. of connections per IP ^Uri^ Linux - Networking 2 08-16-2003 01:44 AM
bandwidth limiting karunesh Linux - Networking 5 11-09-2002 03:28 AM
Limiting users RedHatter Linux - Security 7 08-30-2002 06:03 AM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration