[FUGSPBR] Permissoes de acesso - Samba
William David Armstrong
bio em bsd-unix.com.br
Qua Nov 26 11:56:17 BRST 2003
olha o man do smb.conf
olha por este parametro
valid users (S)
This is a list of users that should be allowed to
login to this service. Names starting with '@', '+'
and '&' are interpreted using the same rules as
described in the invalid users parameter.
If this is empty (the default) then any user can
login. If a username is in both this list and the
invalid users list then access is denied for that
user.
The current servicename is substituted for %S .
This is useful in the [homes] section.
See also invalid users
Default: No valid users list (anyone can login)
Example: valid users = greg, @pcusers
e tb
invalid users (S)
This is a list of users that should not be allowed
to login to this service. This is really a paranoid
check to absolutely ensure an improper setting does
not breach your security.
A name starting with a '@' is interpreted as an NIS
netgroup first (if your system supports NIS), and
then as a UNIX group if the name was not found in
the NIS netgroup database.
A name starting with '+' is interpreted only by
looking in the UNIX group database. A name starting
with '&' is interpreted only by looking in the NIS
netgroup database (this requires NIS to be working
on your system). The characters '+' and '&' may be
used at the start of the name in either order so
the value +&group means check the UNIX group
database, followed by the NIS netgroup database,
and the value &+group means check the NIS netgroup
database, followed by the UNIX group database (the
same as the '@' prefix).
The current servicename is substituted for %S.
This is useful in the [homes] section.
See also valid users .
Default: no invalid users
Example: invalid users = root fred admin @wheel
[www]
comment = Wait Wait Wait Server
path = /home/web/httpd
read only = No
create mask = 0774
directory mask = 0775
valid users = raid, bio
--
-=-=-=-=-=-=-=-=-=-
William David Armstrong
.Administrator Bio Systems Security.
http://biohazard.kicks-ass.org:8080/
bio (at) bsd-unix.com.br bio_wolf (at) yahoo.com
ICQ 102537476 ICQ 27550645
_______________________________________________________________
Sair da Lista: http://lists.fugspbr.org/listinfo.cgi
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
Mais detalhes sobre a lista de discussão freebsd