HP-UX Reference (11i v2 07/12) - 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
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 ser-
vice 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).
HP-UX 11i Version 2: December 2007 Update 1 Hewlett-Packard Company 195