LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-27-2009, 09:17 PM   #1
sgscc
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Rep: Reputation: 0
SAMBA - Password Protect Sub-directories


Hi,

Is it possible to password protect sub-directories?
 
Old 11-28-2009, 05:13 PM   #2
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 611

Rep: Reputation: 32
yes it is.
But what exectly do you want ?

It does not work to create a share ( lets say ) Home, give the user access-rights to the top-folder and configure samba to only give the user accessrights to the directory /home/peter if he (or she) types the correct password.

If you want that, you would just create 2 shares. Home and peter seperat.
 
  


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
How to password protect a folder in samba? Jon W Linux - Server 6 10-27-2009 07:57 AM
sticky bit: how to protect directories but not files inside alexandrusa Linux - Server 8 03-27-2008 11:35 AM
Password protect apache home directories paul_mat Linux - Networking 3 04-28-2006 01:36 AM
how to password protect certain directories? sirpelidor Linux - Security 3 10-06-2004 01:16 PM
protect directories in apache Syncrm Linux - General 9 03-19-2002 12:52 PM


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