LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

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

Rep: Reputation: 0
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.
 
Old 02-01-2006, 06:56 AM   #2
ethics
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, 07:28 AM   #3
RickAOTC
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.
 
  


Reply


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 03:20 PM
limiting kget alaios Linux - Networking 1 08-01-2005 03:35 AM
Limiting no. of connections per IP ^Uri^ Linux - Networking 2 08-16-2003 12:44 AM
bandwidth limiting karunesh Linux - Networking 5 11-09-2002 02:28 AM
Limiting users RedHatter Linux - Security 7 08-30-2002 05:03 AM


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

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