[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
Próxima revisiónAmbos lados, revisión siguiente
es:howtos:network_services:roaming_profiles [2019/02/18 19:47 (UTC)] – [Compartir los directorios personales de los usuarios con NFS] slackwarespanoles:howtos:network_services:roaming_profiles [2019/02/18 20:30 (UTC)] – [Sources] slackwarespanol
Línea 124: Línea 124:
 </code> </code>
  
-==== Setup centralized authentication with NIS ====+==== Configuración de la autenticación centralizada con NIS ====
  
-Slackware64 has a bug in ''yptools'', that can be corrected like this:+Slackware64 tiene un error en '' yptools '', que puede corregirse así:
  
 <code> <code>
Línea 133: Línea 133:
 </code> </code>
  
-<note>This bug has been fixed in Slackware64 14.0</note> +<note>Este error se ha corregido en Slackware64 14.0</note> 
- +Defina un dominio NIS creando y o editando '' /etc/defaultdomain ''Encontrar un nombre de dominio apropiado es una mera convenciónEn el siguiente ejemploeste es el servidor NIS de mi compañía ("Montpezat" es una pequeña ciudad en el sur de Francia):
-Define a NIS domain by creating and/or editing ''/etc/defaultdomain''Finding an appropriate domain name is a mere conventionIn the example belowthis is my company'NIS server ("Montpezat" is a small town in South France):+
  
 <code> <code>
Línea 141: Línea 140:
 </code> </code>
  
-Edit ''/etc/yp.conf'' so the server becomes its own NIS client:+Edite '' /etc/yp.conf '' para que el servidor se convierta en su propio cliente NIS:
  
 <code> <code>
Línea 147: Línea 146:
 </code> </code>
  
-Uncomment the relevant lines in ''/etc/rc.d/rc.yp'', the NIS startup script, and define the use of static ports for ''ypserv'':+Descomente las líneas relevantes en '' /etc/rc.d/rc.yp '', el script de inicio de NISy defina el uso de puertos estáticos para '' ypserv '':
  
 <code> <code>
Línea 170: Línea 169:
 </code> </code>
  
-On a default Slackware installationthis script is already activatedNote that it needs ''/etc/rc.d/rc.rpc'' to be started previously.+En una instalación predeterminada de Slackware, este script ya está activadoTenga en cuenta que necesita que '' /etc/rc.d/rc.rpc '' se inicie anteriormente.
  
 <code> <code>
Línea 176: Línea 175:
 </code> </code>
  
-Proceed to a few adjustments in ''/var/yp/Makefile'':+Continúe con algunos ajustes en '' /var/yp/Makefile '':
  
-  the value of ''MINGID'' must be altered from ''500'' to ''1''+   el valor de '' MINGID '' debe modificarse de '' 500 '' '' 1 ''
-  values for ''MERGE_PASSWD'' and ''MERGE_GROUP'' flip from ''true'' to ''false''+   los valores para '' MERGE_PASSWD '' '' MERGE_GROUP '' cambian de '' true '' '' false ''
-  the ''publickey'' option has to be deactivated.+   La opción '' publickey '' tiene que ser desactivada.
  
-Here's how the file is edited accordingly:+Así es como se edita el archivo en consecuencia:
  
 <code> <code>
Línea 198: Línea 197:
 </code> </code>
  
-Initialize the NIS domain:+Inicialice el dominio NIS:
  
 <code> <code>
Línea 204: Línea 203:
 </code> </code>
  
-From now onadding one or more new users can be done as usual with the ''adduser'' or ''useradd'' commandsbut there's an additional step involvedFor new users to be taken into accountissue the following commands:+De ahora en adelanteagregar uno o más usuarios nuevos se puede hacer como de costumbre con los comandos "adduser" o "useradd"pero hay un paso adicional involucradoPara que se tengan en cuenta los nuevos usuariosemita los siguientes comandos:
  
 <code> <code>
Línea 213: Línea 212:
 ===== Configure the client(s) ===== ===== Configure the client(s) =====
  
-==== Mount the shared user home directories ==== +==== Montar los directorios de inicio de usuario compartidos ====
- +
-On the client side, we will cleanup ''/home'', which will be our mountpoint for the servers' NFS shares. A vanilla Slackware install contains a ''/home/ftp'' directory, which we will get rid of:+
  
 +En el lado del cliente, limpiaremos '' / home '', que será nuestro punto de montaje para los recursos compartidos NFS de los servidores. Una instalación Slackware vanilla contiene un directorio '' / home / ftp '', del cual eliminaremos:
 <code> <code>
 # rmdir /home/ftp # rmdir /home/ftp
 </code> </code>
- +Inicie '' /etc/rc.d/rc.rpc '' e intente montar los recursos compartidos manualmenteEn el siguiente ejemplo, '' nestor '' es el servidor de mi empresaReemplace este valor con el nombre de host o la dirección IP de su servidor:
-Start ''/etc/rc.d/rc.rpc'' and try to mount the shares manuallyIn the example below, ''nestor'' is my company's serverReplace this value with either your server's hostname or IP address:+
  
 <code> <code>
Línea 231: Línea 228:
 </code> </code>
  
-Once this step has been successfuldefine a permanent NFS mount in ''/etc/fstab''Againreplace ''nestor'' by your servers' hostname or IP address:+Una vez que este paso haya tenido éxitodefina un montaje NFS permanente en '' /etc/fstab ''De nuevoreemplace '' nestor '' por el nombre de host o la dirección IP de sus servidores:
  
 <code> <code>
Línea 238: Línea 235:
 </code> </code>
  
-==== Configure the client to use the NIS server for authentication ====+==== Configure el cliente para usar el servidor NIS para la autenticación ====
  
-As noted above, Slackware64 versions prior to 14.0 contain a bug in ''yptools''which can be fixed like this:+Como se indicó anteriormentelas versiones de Slackware64 anteriores a 14.0 contienen un error en "yptools"que puede solucionarse de la siguiente manera:
  
 <code> <code>
Línea 247: Línea 244:
 </code> </code>
  
-Define the NIS domain like you did on the serverby creating and/or editing ''/etc/defaultdomain'':+Defina el dominio NIS como lo hizo en el servidorcreando y/o editando '' /etc/defaultdomain '':
  
 <code> <code>
Línea 253: Línea 250:
 </code> </code>
  
-Define the NIS server by editing ''/etc/yp.conf'':+Defina el servidor NIS editando '' /etc/yp.conf '':
  
 <code> <code>
Línea 259: Línea 256:
 </code> </code>
  
-Modify ''/etc/nsswitch.conf'' so it looks like this:+Modifique '' /etc/nsswitch.conf '' para que se vea así:
  
 <code> <code>
Línea 278: Línea 275:
 </code> </code>
  
-To startup NIS on the clientuncomment the relevant lines in the ''/etc/rc.d/rc.yp'' startup script:+Para iniciar NIS en el clienteelimine el comentario de las líneas relevantes en el script de inicio '' /etc/rc.d/rc.yp '':
  
 <code> <code>
Línea 293: Línea 290:
 </code> </code>
  
-<note>On a vanilla installthere'no activation (''chmod 0755 /etc/rc.d/rc.yp''to be donesince the script is already activated.</note>+<note>En una instalación vanilla, no hay activación ('' chmod 0755 /etc/rc.d/rc.yp ''), ya que el script ya está activado.</note>
  
-Reboot the client and check if users defined on the server can connect.+Reinicie el cliente y verifique si los usuarios definidos en el servidor pueden conectarse.
  
-<note tip>Default the clients to ''init 3'' until all testing and debugging is doneOnce everything works fineswitch to ''init 4''.</note>+<note tip>Predeterminar los clientes a "init 3" hasta que se realicen todas las pruebas y la depuraciónUna vez que todo funcione biencambie a "init 4".</note>
  
-====== Sources ====== +====== Fuentes ====== 
-  * Originally written by [[wiki:user:kikinovak | Niki Kovacs]]+  * Escrito originalmente por [[wiki:user:kikinovak | Niki Kovacs]] 
 +  * Traducido por:  [[wiki:user: slackwarespanol | Victor]] 2019/02/18 20:26 (UTC)
  
 <!-- Please do not modify anything below, except adding new tags.--> <!-- Please do not modify anything below, except adding new tags.-->
 <!-- You must also remove the tag-word "template" below. Otherwise your page will not show up in the Table of Contents --> <!-- You must also remove the tag-word "template" below. Otherwise your page will not show up in the Table of Contents -->
 {{tag>howtos nis nfs roaming_profiles centralized_authentication author_kikinovak}} {{tag>howtos nis nfs roaming_profiles centralized_authentication author_kikinovak}}
 es:howtos:network_services:roaming_profiles ()