|
80.
|
|
|
When defining groups in the Samba configuration file, <filename>/etc/samba/smb.conf</filename>, the recognized syntax is to preface the group name with an "@" symbol. For example, to define a group named <emphasis role="italic">sysadmin</emphasis> in a certain section of the <filename>/etc/samba/smb.conf</filename>, the group name would be entered as <emphasis role="bold">@sysadmin</emphasis>.
|
|
|
|
Al definir grupos en el archivo de configuración de Samba, <filename>/etc/samba/smb.conf</filename>, la sintaxis reconocida es anteponer al nombre del grupo el símbolo «@». Por ejemplo, para definir un grupo llamado <emphasis role="italic">sysadmin</emphasis> en una determinada sección del archivo <filename>/etc/samba/smb.conf</filename>, debería escribirse el nombre de grupo como <emphasis role="bold">@sysadmin</emphasis>.
|
|
Translated and reviewed by
Adolfo Jayme Barrientos
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:455(para)
|
|
81.
|
|
|
File Permissions
|
|
|
|
Permisos de archivo
|
|
Translated and reviewed by
Adolfo Jayme Barrientos
|
|
|
|
Located in
docs/sharing/C/sharing.xml:497(title)
|
|
82.
|
|
|
File Permissions define the explicit rights a computer or user has to a particular directory, file, or set of files. Such permissions may be defined by editing the <filename>/etc/samba/smb.conf</filename> file and specifying the explicit permissions of a defined file share.
|
|
|
|
Los permisos de archivos definen los derechos explícitos que un equipo o usuario poseen sobre un directorio, archivo o conjunto de archivos en particular. Tales permisos deben definirse editando archivo el archivo <filename>/etc/samba/smb.conf</filename> y especificando los permisos explícitos de un recurso compartido concreto.
|
|
Translated and reviewed by
Adolfo Jayme Barrientos
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:468(para)
|
|
83.
|
|
|
For example, for a defined Samba share called <emphasis>share</emphasis> and the need to give <emphasis role="italic">read-only</emphasis> permissions to the group of users known as <emphasis role="italic">qa</emphasis>, while allowing write permissions to the share by the group called <emphasis role="italic">sysadmin</emphasis> and the user named <emphasis role="italic">vincent</emphasis>, then the <filename>/etc/samba/smb.conf</filename> file could be edited to add the following entries under the <emphasis>[share]</emphasis> entry:
|
|
|
|
Por ejemplo, para un recurso compartido de Samba llamado <emphasis>share</emphasis> para el que es necesario conceder permisos de <emphasis role="italic">sólo lectura</emphasis> al grupo de usuarios llamado <emphasis role="italic">qa</emphasis> y permisos de escritura al grupo llamado <emphasis role="italic">sysadmin</emphasis> y el usuario llamado <emphasis role="italic">vincent</emphasis>, el archivo <filename>/etc/samba/smb.conf</filename> debería editarse para añadir las siguientes entradas debajo de la entrada <emphasis>[share]</emphasis>:
|
|
Translated and reviewed by
Adolfo Jayme Barrientos
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:475(para)
|
|
84.
|
|
|
read list = @qa
write list = @sysadmin, vincent
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
read list = @qa
write list = @sysadmin, vincent
|
|
Translated and reviewed by
Adolfo Jayme Barrientos
|
|
|
|
Located in
docs/sharing/C/sharing.xml:517(programlisting)
|
|
85.
|
|
|
Another possible Samba permission is to declare <emphasis>administrative</emphasis> permissions to a particular shared resource. Users having administrative permissions may read, write, or modify any information contained in the resource where the user has been given explicit administrative permissions.
|
|
|
|
Otro permiso posible de Samba consiste en declarar permisos <emphasis>administrativos</emphasis> a un recurso compartido concreto. Los usuarios que tienen permisos administrativos pueden leer, escribir o modificar cualquier información contenida en el recurso done al usuario se le hayan otorgado permisos administrativos explícitos.
|
|
Translated and reviewed by
Adolfo Jayme Barrientos
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:491(para)
|
|
86.
|
|
|
For example, to give the user <emphasis role="italic">melissa</emphasis> administrative permissions to the <emphasis role="italic">share</emphasis> example, the <filename>/etc/samba/smb.conf</filename> file would be edited to add the following line under the <emphasis>[share]</emphasis> entry:
|
|
|
|
Por ejemplo, para otorgar al usuario <emphasis role="italic">melissa</emphasis> permisos administrativos para el ejemplo <emphasis role="italic">share</emphasis>, habría que editar el archivo <filename>/etc/samba/smb.conf</filename> para añadirle la siguiente línea debajo de la entrada <emphasis>[share]</emphasis>:
|
|
Translated and reviewed by
Adolfo Jayme Barrientos
|
|
|
|
Located in
docs/sharing/C/sharing.xml:530(para)
|
|
87.
|
|
|
admin users = melissa
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
admin users = melissa
|
|
Translated and reviewed by
Adolfo Jayme Barrientos
|
|
|
|
Located in
docs/sharing/C/sharing.xml:537(programlisting)
|
|
88.
|
|
|
After editing <filename>/etc/samba/smb.conf</filename>, restart Samba for the changes to take effect:
|
|
|
|
Después de editar <filename>/etc/samba/smb.conf</filename>, reinicie Samba para que los cambios tengan efecto:
|
|
Translated and reviewed by
Adolfo Jayme Barrientos
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:510(para)
|
|
89.
|
|
|
For the <emphasis>read list</emphasis> and <emphasis>write list</emphasis> to work the Samba security mode must <emphasis>not</emphasis> be set to <emphasis role="italic">security = share</emphasis>
|
|
|
|
Para que <emphasis>read list</emphasis> y <emphasis>write list</emphasis> funcionen, el modo de seguridad de Samba <emphasis>no</emphasis> debe estar establecido a <emphasis role="italic">security = share</emphasis>.
|
|
Translated and reviewed by
Adolfo Jayme Barrientos
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:519(para)
|