Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
PAM_LOG(8)		  Pam-Modules User Reference		    PAM_LOG(8)

NAME
       pam_log - log messages to syslog

SYNOPSIS
       pam_log [-audit]	[-debug[=LEVEL]] [-noopen] [-waitdebug[=SECONDS]]
       [-pri=FACILITY.PRIORITY]	[-tag=LABEL] TEXT...

DESCRIPTION
       Sends diagnostic	text to	syslog.

OPTIONS
       -pri=FACILITY.PRIORITY
	      Send text	to the given syslog facility and priority.  Valid val-
	      ues  for	FACILITY are: user, daemon, auth, authpriv, and	local0
	      through local7.  Valid values for	PRIORITY  are:	emerg,	alert,
	      crit, err, warning, notice, info,	and debug.

	      Either part can be omitted, in which case	the following defaults
	      are used:	FACILITY=authpriv, PRIORITY=info.

       -tag=LABEL
	      Use LABEL	as the syslog tag, instead of the module name.

       -debug[=NUMBER]
	      Set debugging level (0 <=	NUMBER <= 100).

       -audit Log full debugging information (equivalent to debug=100).

       -waitdebug=N
	      Wait  for	N seconds before starting up.  This option is intended
	      to facilitate attaching to the module with gdb(1).  It is	avail-
	      able only	if the package was configured with the	--enable-debug
	      option.

MODULE TYPES PROVIDED
       All module types	(account, auth,	password and session) are provided.

RETURN VALUES
       PAM_IGNORE
	      Ignore this module.

EXAMPLES
       account requisite pam_log.so -tag FTP \
	     -pri=daemon.info User ${user:-unknown} is granted FTP access

NOTE
       This manpage is a short description of pam_log.	For a detailed discus-
       sion,  including	 examples and usage recommendations, refer to the PAM-
       modules Manual available	in texinfo format.  If the info	reader and the
       tar documentation are properly installed	on your	system,	the command

	   info	pam-modules

       should give you access to the complete manual.

       You can also view the manual using the info mode	in emacs(1),  or  find
       it in various formats online at

	   http://www.gnu.org.ua/software/pam-modules/manual

       If  any	discrepancies  occur  between this manpage and the PAM-modules
       Manual, the later shall be considered the authoritative source.

SEE ALSO
       pam.conf(5), pam.d(5), pam(8).

AUTHORS
       Sergey Poznyakoff <gray@gnu.org>

BUG REPORTS
       Report bugs to <bug-pam-modules@gnu.org.ua>.

COPYRIGHT
       Copyright (C) 2001-2014 Sergey Poznyakoff
       License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licens-
       es/gpl.html>
       This is free software: you are free  to	change	and  redistribute  it.
       There is	NO WARRANTY, to	the extent permitted by	law.

PAM-MODULES			March 28, 2014			    PAM_LOG(8)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=pam_log&sektion=8&manpath=FreeBSD+Ports+15.0>

home | help