LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-24-2015, 03:06 AM   #1
kohshan99
Member
 
Registered: Sep 2012
Posts: 52

Rep: Reputation: Disabled
Question SAMBA Folder Password


how to set passwd on sabma shared folder? my config is

Quote:
[smbdemo]
comment = File Server Share
path = /smbdemo
public = no
writeable = yes
valid users = test


[laptop]
writable = yes
browseable = no
public = no
valid users = @test
path = /laptop

[Secure]
path = /home/file
valid users = @smbgrp
guest ok = no
writable = yes
browsable = yes
 
Old 10-24-2015, 04:23 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,738

Rep: Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753
You can add users using the smbpasswd command as your root user.

@test specifies test as a unix group versus username.

You directories as specified by the path directive must have the correct permissions for the groups/users.
 
  


Reply

Tags
file permission, folders, samba


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 tonytj Linux - Newbie 2 10-31-2014 04:24 PM
[SOLVED] SAMBA sharing one no public folder password protected infoslaw Linux - Newbie 8 12-30-2011 04:07 AM
how to share a folder in samba with no need of password for individual user not guest golden_boy615 Linux - General 5 06-18-2011 06:13 AM
Samba password protected shared Folder Mrpeepers310 Linux - Networking 5 09-18-2010 10:04 AM
How to password protect a folder in samba? Jon W Linux - Server 6 10-27-2009 06:57 AM


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