Herramientas de usuario

Herramientas del sitio


informatica:certificaciones:lpic:lpic-2:209_file_sharing

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
informatica:certificaciones:lpic:lpic-2:209_file_sharing [2021/04/16 12:10] – [Recomendaciones] tempwininformatica:certificaciones:lpic:lpic-2:209_file_sharing [2021/05/25 18:11] (actual) – [Topic 209: File Sharing] tempwin
Línea 2: Línea 2:
  
 Perteneciente a [[informatica:certificaciones:lpic:lpic-2|LPIC-2]] Perteneciente a [[informatica:certificaciones:lpic:lpic-2|LPIC-2]]
 +
 +En este apartado deberás configurar un servidor Samba para varios clientes. Este objetivo incluye configurar Samba como un servidor independiente, así como la integración de Samba como miembro en un Active Directory y además,  exportar sistemas de archivos utilizando NFS.
  
 Módulos: Módulos:
Línea 17: Línea 19:
   * Administrar las contraseñas samba.   * Administrar las contraseñas samba.
   * Conectar un cliente a una compartición samba.   * Conectar un cliente a una compartición samba.
 +
 +
   * Conocer los daemons NFS.   * Conocer los daemons NFS.
   * Exportar comparticiones NFS puntuales.   * Exportar comparticiones NFS puntuales.
Línea 31: Línea 35:
   * Nothing, because this is not possible.   * Nothing, because this is not possible.
   * Run ''netvamp'' regularly, to convert the passwords.   * Run ''netvamp'' regularly, to convert the passwords.
-  * Run ''winbind --sync'', to synchronize the passwords.+  * Run ''winbind %%--%%sync'', to synchronize the passwords.
   * Add ''unix password sync = yes'' to ''smb.conf''. (**Solución**)   * Add ''unix password sync = yes'' to ''smb.conf''. (**Solución**)
   * Add ''smbunix password = sync'' to ''smb.conf''.   * Add ''smbunix password = sync'' to ''smb.conf''.
Línea 39: Línea 43:
  
   * ''testparm -v''   * ''testparm -v''
 +
 +**Which command can be used to list all exported file systems from a remote NFS server:**
 +
 +  * ''exportfs''
 +  * ''nfsstat''
 +  * ''rpcinfo''
 +  * ''showmount'' (**Solución**)
 +  * ''importfs''
 +
 +**Which of the following configuration lines will export /usr/local/share/ to nfsclient with read-write access, ensuring that all changes are straight to the disk?**
 +
 +  * ''/usr/local/share nfsclient(rw) written''
 +  * ''nfsclient: /usr/local/share/:rw,sync''
 +  * ''/usr/local/share nfsclient:rw:sync''
 +  * ''/usr/local/share nfsclient(rw,sync)'' (**Solución**)
 +  * ''nfsclient(rw,sync) /usr/local/share''
 +
 +**Which of the following files defines the directories and permissions for NFS shares on your server?**
 +
 +  * ''/etc/exportfs''
 +  * ''/etc/shares''
 +  * None of the above
 +  * ''/etc/exports'' (**Solución**)
 +
 +**Which of the following utilities will test the configuration of your SAMBA shares?**
 +
 +  * ''testparm'' (**Solución**)
 +  * ''checkparm''
 +  * ''viewparm''
 +  * ''chickenparm''
 +
 +**Which packages are required for both the SAMBA client and server?**
 +
 +  * samba, named, rndc
 +  * smb, nmb, postfix
 +  * smb, postmap
 +  * samba, samba-client, samba-common, cifs-utils (**Solución**)
 +
 +**Why is it important to map the UID/GID between NFS servers and their clients?**
 +
 +  * So you don't have to use OpenLDAP
 +  * To keep the same account names
 +  * To encourage the same authentication type
 +  * To keep permissions consistent between systems (**Solución**)
 +
 +**Clients can only mount NFS shares from a server at the command line (i.e. manually as needed).**
 +
 +  * Verdadero
 +  * Falso  (**Solución**)
 +
 +
 +
 +
informatica/certificaciones/lpic/lpic-2/209_file_sharing.1618567808.txt.gz · Última modificación: por tempwin