If one or more key arguments are provided, then only the entries that match the supplied keys will be displayed. Otherwise, if no key is provided, all entries will be displayed (unless the database does not support enumeration).
The Getent tool can be used to query NSS for specific Getent by giving the group name as a command-line parameter:
getent netgroup sysadmin sysadmin (sa.willeke.com, , ) (xenhost.willeke.com, , )
Some entries in the .... do not support returning more than one entry.
getent Name | LDAP SearchFilters | |
---|---|---|
aliases | (objectClass=rfc822MailGroup) | |
auth_attr | (objectClass=SolarisAuthAttr) | |
audit_user | (objectClass=SolarisAuditUser) | |
exec_attr | (objectClass=SolarisExecAttr) | |
group | (objectClass=posixGroup) | |
hosts | (objectClass=ipHost) | |
networks | (objectClass=ipNetwork) | |
prof_attr | (objectClass=SolarisProfAttr) | |
protocols | (objectClass=ipProtocol) | |
passwd | (objectClass=posixAccount) | |
printers | (objectClass=sunPrinter) | |
rpc | (objectClass=oncRpc) | |
services | (objectClass=ipService) | |
shadow | (objectclass=shadowAccount) | |
project | (objectClass=SolarisProject) | |
usr_attr | objectClass=SolarisUserAttr) |