| The Getent collection of utilities lets you perform user/group/service/protocol/host/network lookups or display all available entries in those areas. All map services are understood (NIS, NIS+, /etc files, anything) because Getent simply calls the same library functions that the OS and applications use. In this way, the system administrator can see what the computer thinks the entire list of entries is, enabling him or her to more easily debug problems with nsswitch.conf and related maps and files. The tools included are getpwent, getgrent, gethostent, getnetent, getservent, getprotoent, and getreuid (for testing setuid and setgid programs). |