LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 07-13-2005, 09:02 PM   #1
darkportal_4
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 10.1
Posts: 4

Rep: Reputation: 0
FSTAB + ilk and "other" permissions


Hi,

I run a headless Mandrake/10.1 box on my home network. I have created an untrusted user account for a coworker of mine to access the box. I only want her to access a few services (squid) and I want to prohibit read and write access to the rest of the hard drive. Is there any way I can move her outside of the "other" group as to deny that account to the rest of the system? Of particular concern is /etc/fstab, which includes lines to connect to passworded shares on my home PC, and I noticed that from her account she can open the file in vi and poke around. Since she is quite computer literate (we work in a computer sales shop) I do not want her being able to access anything.

While normally I could just make squid a public, password-protected proxy, the security strategy of my box is to expose only a few services to the outside world and protect the rest of them behind SSH tunneling.

It's not that I don't trust her not to poke around, but I am not comfortable with letting even a limited set of keys into anyone else's hands. Perhaps I am just paranoid, but I can imagine that most everyone here knows how far an ounce of prevention will go.

Thanks,

Tom

Last edited by darkportal_4; 07-13-2005 at 09:10 PM.
 
Old 07-13-2005, 11:01 PM   #2
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
You should fix your fstab, I believe smbfs and cifs (assuming Windows mounts) support reading the credentials from files. You would just need to point them to the proper file and have that file secured, any mounts will most likely be done as root so the permissions can be restrictive.
 
Old 07-15-2005, 05:15 AM   #3
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
The "other" group is also known as "the rest of the world" in other words if you have rwx permissions in other then there is unrestricted access for anyone who has access to your system. You could create a separate localised environment for her and 'chroot" her into that environment. This is done with a number of ftp servers.
 
  


Reply



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
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
How do I change "fstab" to Write/Edit Mode? sharathkv Linux - Newbie 4 07-29-2003 07:52 AM
EEEEEEP!!! My fat fingers scrubbed the "/" key while editing FSTAB FSTABkiller Linux - General 3 02-07-2003 11:38 PM
installing problems: "cannot create mnt/etc/fstab" bullen Slackware 2 08-03-2002 09:24 AM

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

All times are GMT -5. The time now is 11:15 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