HP-UX Reference (11i v2 04/09) - 1M System Administration Commands N-Z (vol 4)

p
pwgrd(1M) pwgrd(1M)
NAME
pwgrd - Password and Group Hashing and Caching daemon.
SYNOPSIS
/usr/sbin/pwgrd
[-d][-l logfile]
DESCRIPTION
pwgrd provides accelerated lookup of password and group information for libc routines like
getpwuid
and getgrname. pwgrd implements per request type caches and hashtables as appropriate. When
the corresponding routine in libc is called, a request is issued to
pwgrd
via a Unix domain socket con-
nection.
pwgrd determines whether it can satisfy the request, returning the appropriate results to the
requesting process.
Options
pwgrd recognizes the following options and command-line arguments:
-d Debug mode. Do not become a daemon. Issue additional diagnostic messages. Instead of
logging message via syslog, issue messages to stderr.
-l logfile Logfile. In addition to logging via
syslog, pwgrd will write log messages to
logfile.
pwgrd modifies its behavior depending on whether or not the local machine is using some form of NIS for
password or group information. When NIS or NIS+ is being used, the hashtables corresponding to that
service are not generated or consulted. Therefore only caching is provided for those requests.
FILES
/etc/rc.config.d/pwgr
Start up configuration variable. Set PWGR to 1 if you want
pwgrd to start on reboot.
/var/spool/pwgr/*
Hash files, status file and daemon Unix domain socket.
/var/spool/sockets/pwgr/*
Client Unix domain sockets.
AUTHOR
pwgrd was developed by the Hewlett-Packard Company.
SEE ALSO
pwgr_stat(1M).
Section 1M652 Hewlett-Packard Company 1 HP-UX 11i Version 2: September 2004