On Tue, 17 Jul 2001 14:34:56 +0300
Alin Osan <[EMAIL PROTECTED]> wrote:

> Incerc sa fac un share de samba pentru un grup de users si nu 

Uite cum e pe la mine:

/etc/samba/smb.conf

[global]

inherit permissions = yes

[capital3.51d]
  path = /home/capital3.51d
  comment = Capital 3.51d
  browseable = yes
  writable = yes
  public = no

ls -l /home

drwxrws---   31 root     capital      8192 Jul 17 08:42 capital3.51d

grep capital /etc/group

capital:x:506:user1,user2

user1,user2 au grup principal users si secundare mai multe printre
care si "capital".

Asa se seteaza grupurile secundare
usermod -G capital,muci user1

Poti avea si share-uri cu drepturi ca mai jos, iar in interior, cu
subdirectoare drwxrws care au group-ul care te intereseaza sa aiba
acces.

ls -l /home
drwxr-xr-x   12 root     users        4096 May 22 19:33 groups

[root@vuia /root]# ls -l /home/groups/
total 40
drwxrws---   32 root     accounti     4096 Jul 17 11:02 accounting
drwxrws---    6 root     commerci     4096 Jul 10 23:09 commercial
drwxrws---    4 root     distribu     4096 Jul 17 13:44 distribution
drwxrws---    8 root     finance      4096 Jun 29 09:52 finance
drwxrws---    2 root     gm           4096 May 22 19:33 gm
drwxrws---   12 root     it           4096 Jun 28 10:11 it
drwxrws---    2 root     marketin     4096 May 22 19:33 marketing
drwxrws---   10 root     purchasi     4096 Jul 17 14:13 purchasing
drwxrws---    2 root     sales        4096 May 22 19:33 sales


-- 
Systems and Network Administrator - Delta Romania
Phone +4093-267961
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui