Herramientas de usuario

Herramientas del sitio


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

¡Esta es una revisión vieja del documento!


Topic 209: File Sharing

Recomendaciones

De cara al examen, hay que conocer bien:

  • Conocer los daemons samba.
  • Configurar la compartición samba de los directorios personales de los usuarios.
  • Conocer las opciones samba más comunes.
  • Administrar las contraseñas samba.
  • Conectar un cliente a una compartición samba.
  • Conocer los daemons NFS.
  • Exportar comparticiones NFS puntuales.
  • Configurar un servicio NFS.
  • Conocer los comandos de diagnóstico NFS.
  • Comprender la administración de los derechos de acceso de clientes 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.1618569590.txt.gz · Última modificación: por tempwin