HP-UX Reference (11i v3 07/02) - 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 connection.
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 log-
ging 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 is being used, the hashtables corresponding to that service are
not generated or consulted. Therefore only caching is provided for those requests.
AUTHOR
pwgrd was developed by the Hewlett-Packard Company.
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.
SEE ALSO
pwgr_stat(1M).
202 Hewlett-Packard Company 1 HP-UX 11i Version 3: February 2007