[Samba] using "@group_name" in smb.conf
Anthony J. Breeds-Taurima
tony at cantech.net.au
Wed Jun 5 22:30:03 GMT 2002
On Thu, 6 Jun 2002, Darryl Harvey wrote:
> Hi all,
>
> I need to give a group of users access to a file share that I am sharing
> via samba.
>
> In smb.conf I am using something similar to;
>
> [accts]
> comment = Accounts Dept Share
> path = /usr/local/share/accounts
> valid users = @accounts
> public = no
> writable = yes
> printable = no
> create mask = 0765
>
>
> The valid users line says who can access this share: "@accounts".
> I know the @accounts = the "accounts" group.
>
> How/where do I add the actual valid usernames to this group? Within
> smb.conf, or as a file (Where does the file sit and what is it called
> (accounts ?)
>
> I can't find the answer in the docs, I did try :-(
Assuming "accounts" is a local group just
vigr
and append the users you need comma seperated.
ie:
account:x:1004:daryl,root
Yours Tony
Jan 22-26 2003 Linux.Conf.AU http://conf.linux.org.au/
The Australian Linux Technical Conference!
More information about the samba
mailing list