Comandi Basic per interrogazione di Ldap


Il comando getent interroga i database classici che sono presenti nel file nsswitch (passwd, services, group aliases etc ), e quindi recupera le info locali e quelle fornite da ldap
  • getent  passwd  equivale  a ypcat passwd
  • getent passwd USER  equivale a ypmatch USER passwd
  • getent group   equivale a ypcat group