Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Samba Users And Groups
post Jun 16 2004, 01:15 PM
Post #1

Its GNU/

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3

Okay, i've been at this for a while, trying to get it to work, but so far no good.

I have a samba server running Debian 3.0, and two client computers, one running Windows XP and one running a dual-boot of Xp&suse.

On the server, I have two main directories being shared out, /var/shared which is common files that both client computesr need access to, and /var/www which only one of the machines needs access to. What I want to do is to have two users "blew" and "duende", both of them to have access to /var/shared (read&write) and only "duende" to have access to /var/www

How can I do this in samba?

Corey Quilliam
(former) Administrator

Want to help out Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
+Quote Post
post Jun 16 2004, 01:30 PM
Post #2

Its GNU/

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069


you can do this

hosts allow =,
hosts deny =

or you could do it like this

smbpasswd -a duende (then enter a code here , not your code, another one shall do)

user = duende
guest ok = no
create mode = 0777
directory mode = 0777
browseable = yes (or no If you don't want others to even see it, including can still connect to it by typing ipadressofcomputersharename
writable = yes

I think in this case you will need to change security=user in the global options
this way only user with ip adress will be able to connect to /var/www
everyone else is denied

Robert B

Robert Becskei
May the source be with us!
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 22nd June 2018 - 08:21 AM