pblogd

pblogd is the log server daemon that records event and I/O logs as directed by other Privilege Management for Unix and Linux programs. A socket-listener process (typically inetd, xinetd, or pblogd -d) starts pblogd.

Changes that are made to the pb.settings file after the daemon is started do not affect the operation of the daemon. If you change the pb.settings file, then you must restart the daemon for the changes to take effect. If you do not restart the daemon, then the daemon continues to operate using a snapshot of the pb.settings file that is cached at the time the daemon is started.

  • Version 3.5 and earlier: long command options not supported.
  • Version 4.0 and later: long command options supported.
pblogd [options]
   -a, --syslog_accepts
   -d, --daemon
   -D, --debug=<level>
   -e, --error_log=log_file_name
   -f, --foreground
   -i, --info <argument placeholder characters>
   -p, --port=port_number
   -r, --syslog_rejects
   -s, --syslog
pblogd –v | --version
pblogd --help
-a, --syslog_accepts Optional. Records accepted task requests in the syslog.
-d, --daemon Optional. Runs as stand-alone daemon instead of from inetd or xinetd. This mode listens to the port that is defined in the logdport setting or the -p command line argument.

-D,

--debug=<level>

Optional. Generate debug trace logs in the same directory pointed to by pblogdlog.

Version 7.5 and earlier: option not available.

Version 8.0 and later: option available.

-e, --error_log=log_file_name

Optional. Records diagnostic messages in the file logfile.

-f, --foreground

Optional. Run in the foreground when using daemon mode.

-i, -info <argument placeholder characters>

On Linux, macOS, and AIX, the pblogd process replaces the argument placeholder characters with the following information about the submitting request:

  • submitting user
  • submit host
  • pbrun's pid
  • runuser
  • runargv

The format is:

submituser@submithost pid runuser: runargv

This allows an administrator to use the ps command to view more information about the running pblogd processes.

This feature is not available on HP-UX and Solaris.

-p, --port=port

Optional. When running as a stand-alone daemon, listens to the provided port instead of the default.

-r, --syslog_rejects

Optional. Records rejected task requests in the syslog (unless Privilege Management for Unix and Linux is configured with a log server).

-s, --syslog

Optional. Records diagnostic messages in the syslog.

-s works only if /etc/syslog.conf is configured to have syslog process auth.err (or less severe) messages.

-v, --version

Optional. Displays the program version and exits.

--help

Optional. Displays the program help message and exits.

/etc/pb.settings

Privilege Management for Unix and Linux settings file

For more information, please see the following: