LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 12-30-2009, 10:48 AM   #1
jkeertir
Member
 
Registered: Mar 2008
Posts: 70

Rep: Reputation: 15
limiting samba access


Dear All,

I want to limit access to samba shares,for ex

folder1 should be accessed by all the user of group1,and (which is the sub folder in folder1)subfolder1 can be accessed by all the users of group2.


I have tried to do this by adding valid users=@group1 for folder1 in smb.conf file,it allows me to enter folder1 by asking for username and password,but subfolder1 opens directly without asking for username and password.


Please let me know if there is any way to do this.

In short ,I want to limit access to the folder .

With regards,
Keerti
 
Old 12-30-2009, 11:54 AM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

First, you really need to be using Samba 3 (if you're not already).

Second, read these (most excellent!) articles by Mick Bauer, who writes the monthly security column ("Paranoid Penguin") for Linux Journal:

'Hope that helps .. PSM

Last edited by paulsm4; 12-30-2009 at 11:56 AM.
 
  


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
Limiting User Access atheist Linux - Security 4 05-05-2008 11:26 PM
Limiting Bind9 Access kemplej Linux - Security 5 11-25-2005 01:52 PM
Access control limiting antidelldude Fedora 0 08-21-2005 12:34 PM
Limiting Desktop access mysticpain Linux - Software 1 05-29-2004 06:13 PM
limiting users access iquadri1 Linux - Networking 1 09-04-2001 02:23 PM


All times are GMT -5. The time now is 04:18 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration