LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-10-2004, 10:19 AM   #1
cotton213
LQ Newbie
 
Registered: Dec 2004
Location: Michigan
Distribution: Slackware, Red Hat, Ubuntu
Posts: 23

Rep: Reputation: 1
Need to protect files from people with su ability


We are a software company where all the engineers have root access to their computers. Since they can be root, they can be anyone, and therefore can get at anyone's files. Is there a way to prevent this? I want people to have the root access they need to do their jobs, but I also want to protect them from nosey co-workers.
 
Old 12-10-2004, 12:57 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Then you should learn to use group permissions to allow some people access to some things and keep root privilages for yourself.
 
Old 12-10-2004, 01:26 PM   #3
cotton213
LQ Newbie
 
Registered: Dec 2004
Location: Michigan
Distribution: Slackware, Red Hat, Ubuntu
Posts: 23

Original Poster
Rep: Reputation: 1
Could you be more specific?

I'm 100% sure you know more about this than me, so could you be more specific please. Given that the engineers have to be able to build systems, I have to put these systems on the LAN, and the engineers need to continue to have root privileges to do root-y things (mount stuff, install stuff), how could I use groups to facilitate all this so I can take away their ability to su to another user? Are there some references that you could recommend?

Thanks for your time
 
Old 12-10-2004, 01:57 PM   #4
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Well no, I don't know much. I'm just a balloon that happened to be floating by. rute has some stuff on groups. If you can find a copy of Running Linux that has some stuff about users and groups. But the situation you describe is complicated as mounting hardware may need root privilages, like you say. It depends on what it is thay need to mount. /etc/fstab can be setup to allow users to mount some things (read man mount for more details). Also supermount or submount can allow limited users to mount hardware (usb stuff, floppy disks). I'm sure there's a way through. The question is, is protecting peoples privacy worth the grief of working out all the details?
 
Old 12-10-2004, 05:15 PM   #5
smnoel
LQ Newbie
 
Registered: Dec 2004
Location: Michigan
Distribution: Fedora Core 3
Posts: 11

Rep: Reputation: 0
Came across this. You should read this guide. It looks like it could help you. (SUDO might be what you are looking for)

http://www.linuxsecurity.com/docs/LD...-security.html
 
Old 12-10-2004, 08:56 PM   #6
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
Re: Need to protect files from people with su ability

Quote:
Originally posted by cotton213
We are a software company where all the engineers have root access to their computers. Since they can be root, they can be anyone, and therefore can get at anyone's files. Is there a way to prevent this? I want people to have the root access they need to do their jobs, but I also want to protect them from nosey co-workers.
If you're saying that the engineers have root access to their workstations, what's the problem? No one should be putting files on their workstations besides them. The only way this would be a problem is if you have one root password for every machine in the building, but that would be silly, and I assume that's not the case.

If you mean that the engineers have a group of boxes and they all use them, then none of them should have root. The only reason for a user to get root is a lazy admin, a horrible security policy, the user has cracking ability, or some mix of all of the above.

Having said all that, smnoel is probably pointing you down the right track. sudo is a great little utility. It lets me have root and the junior admins do all the things they would need to do in my absence, and nothing they wouldn't.
 
  


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
For people how want to play WMA files without converting MP3 files waelaltaqi Linux - Software 15 11-17-2005 08:30 AM
mv: how to protect files from being moved hamish Linux - Software 4 09-05-2005 09:15 PM
How do I password protect folders/files? shodekiagari Linux - Software 6 12-04-2004 12:16 PM
ability to handle MS Word files Maidros Debian 3 03-17-2004 01:58 PM
How to disable ftp user's ability to delete files BrianG Linux - General 2 01-15-2002 04:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:34 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration