Query: pwget
OS: hpux
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
pwget(1) General Commands Manual pwget(1)NAMEpwget, grget - get password and group informationSYNOPSISname | uid] name | gid]DESCRIPTIONand locate and display information from and The standard output of contains lines of colon-separated password information whose format is the same as that used in the file (see passwd(4)). The standard output of contains lines of colon-separated group information whose format is the same as that used in the file (see group(4)). With no options, and get all entries with or respectively, (see getpwent(3C) and getgrent(3C)), and output a line for each entry found. Options When an option is given, only a single entry is printed. The options for are: Output the first entry that matches name using (see getpwent(3C)). Output the first entry that matches uid using (see getpwent(3C)). The options for are: Output the first entry that matches name using (see getgrent(3C)). Output the first entry that matches gid using (see getgrent(3C)).NETWORKING FEATURESNFS If Network Information System (NIS) is in use, these commands provide password and group information based on the NIS version of the pass- word and group databases in addition to the local password and group files.RETURN VALUEThese commands return upon success, when a specific search fails, and upon error.DEPENDENCIESNFS: WARNING: If the Network Information System network database is in use and the NIS client daemon 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 signal to the process (see kill(1)). See ypmatch(1), and ypserv(1M).AUTHORand were developed by HP.FILESlocal group data file local password data fileSEE ALSOgetgrent(3C), getpwent(3C), group(4), passwd(4). pwget(1)
Related Man Pages |
---|
pwck(1m) - opensolaris |
grget(1) - hpux |
pwget(1) - hpux |
initgroups(3c) - hpux |
logingroup(4) - hpux |
Similar Topics in the Unix Linux Community |
---|
NIS/NFS |
Integration of NIS and NFS |
De-group data |