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/15 14:48] 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 23: Línea 27:
   * Comprender la administración de los derechos de acceso de clientes NFS.   * Comprender la administración de los derechos de acceso de clientes NFS.
   * Conectar un cliente a una compartición NFS.   * Conectar un cliente a una compartición NFS.
 +
 +===== Tests =====
 +
 +**Which of the following is needed, to synchronize the Unix password with the SMB password, when the encrypted SMB
 +password in the smbpasswd file is changed?**
 +
 +  * Nothing, because this is not possible.
 +  * Run ''netvamp'' regularly, to convert the passwords.
 +  * Run ''winbind %%--%%sync'', to synchronize the passwords.
 +  * Add ''unix password sync = yes'' to ''smb.conf''. (**Solución**)
 +  * Add ''smbunix password = sync'' to ''smb.conf''.
 +
 +**Which Samba-related command will show all options that were not modified using smb.conf and thus are set to
 +their default values? Please enter the command and its parameter(s).**
 +
 +  * ''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.1618490937.txt.gz · Última modificación: por tempwin