hpux man page for grget

Query: grget

OS: hpux

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

pwget(1)						      General Commands Manual							  pwget(1)

NAME
pwget, grget - get password and group information
SYNOPSIS
name | uid] name | gid]
DESCRIPTION
and 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 FEATURES
NFS 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 VALUE
These commands return upon success, when a specific search fails, and upon error.
DEPENDENCIES
NFS: 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).
AUTHOR
and were developed by HP.
FILES
local group data file local password data file
SEE ALSO
getgrent(3C), getpwent(3C), group(4), passwd(4). pwget(1)
Related Man Pages
grget(1) - hpux
groupmod(1m) - hpux
group(4) - hpux
yppasswdd(8) - osf1
pwck(1m) - sunos
Similar Topics in the Unix Linux Community
NIS/NFS
Integration of NIS and NFS
how to display specific lines of a specific file
De-group data