|
|
HP-UX Reference > Ppwget(1)HP-UX 11i Version 2: December 2007 Update |
|
NAMEpwget, grget — get password and group information DESCRIPTIONpwget and grget locate and display information from /etc/passwd and /etc/group. The standard output of pwget contains lines of colon-separated password information whose format is the same as that used in the /etc/passwd file (see passwd(4)). The standard output of grget contains lines of colon-separated group information whose format is the same as that used in the /etc/group file (see group(4)). With no options, pwget and grget get all entries with getpwent() or getgrent() respectively, (see getpwent(3C) and getgrent(3C)), and output a line for each entry found. OptionsWhen an option is given, only a single entry is printed. The options for pwget are:
The options for grget are:
DEPENDENCIESNFS:WARNING: If the Network Information System network database is in use and the NIS client daemon (ypbind) is not bound to a NIS server daemon (see ypserv(1M)), these utilities will wait until such a binding is established. These commands can be terminated in this condition by sending a SIGINT signal to the process (see kill(1)). See ypmatch(1), and ypserv(1M). |
|