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 06-23-2010, 11:16 PM   #1
politik
Member
 
Registered: Jun 2005
Location: Chicago
Distribution: Ubuntu 12.04 Precise Pangolin
Posts: 48

Rep: Reputation: 15
implementing security with network file shares


I am using a Windows XP box to provide three network file shares. I am running Xubuntu 10.04 LTS as a client and I am seeking advice on how to implement security for the network file share on the Xubuntu client side.

some initial thoughts:

setting appropriate permissions via command line options when the the network file share is mounted ?

making a specific group or user "owner" of the network file share ?

I'm working on a script that runs at start up, looks at who is logged in and based on group id, mounts the appropriate shares and sets the appropriate permissions.

Feel free to direct me to a more appropriate forum. The underlying issue is security but I think the discussion would get pretty specific to network protocols (cifs, smb, etc).

Thanks.
 
Old 06-24-2010, 04:02 PM   #2
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 548

Rep: Reputation: 72
look into pam-mount. http://pam-mount.sourceforge.net/

The irony of an XP box providing a file share is rich.
 
Old 06-24-2010, 07:28 PM   #3
politik
Member
 
Registered: Jun 2005
Location: Chicago
Distribution: Ubuntu 12.04 Precise Pangolin
Posts: 48

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mpapet View Post
This is exactly what I need !!! Thanks !!!

Quote:
Originally Posted by mpapet View Post
The irony of an XP box providing a file share is rich.
That irony is not lost on me. I'll eventually set up a separate samba box but this will have to do for now :-)
 
Old 06-25-2010, 10:50 AM   #4
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 548

Rep: Reputation: 72
Quote:
Originally Posted by politik View Post
I'll eventually set up a separate samba box but this will have to do for now :-)
No need to use samba. NFS works well for me and is much simpler. Samba is a whole lot of complexity. Finally, there's a little "thanks" button on the message. Would you mind terribly "thanking" me that way?
 
Old 06-25-2010, 04:38 PM   #5
politik
Member
 
Registered: Jun 2005
Location: Chicago
Distribution: Ubuntu 12.04 Precise Pangolin
Posts: 48

Original Poster
Rep: Reputation: 15
What is the proper forum to discuss network file sharing ? I've read the pros and cons of nfs vs cifs/smb and security issues made me go with cifs. And as far as I can tell, I'd have to run some extra software on the XP side to do NFS on Windows (confirm ??). Samba is the only thing I'm aware of that works across mac/windows/linux.
 
  


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
OpenLDAP accounts and network file shares rosv Linux - Enterprise 1 05-14-2009 06:52 AM
LXer: Network Security Toolkit distribution aids network security administrators LXer Syndicated Linux News 0 07-23-2008 11:02 PM
how to serve Linux and windows shares (implementing roaming profile) jabka Linux - Networking 1 05-14-2008 03:10 AM
Implementing Object Manager in LSM ( Linux Security Module ) sina_kish Linux - Security 0 04-10-2005 03:33 AM

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

All times are GMT -5. The time now is 05:09 AM.

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