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

FreeBSD Manual Pages

  
 
  

home | help
PAMCK(1)		   Pam-Modules User Reference			PAMCK(1)

NAME
     pamck - test PAM stack

SYNOPSIS
     pamck [-hv] [-s SERVICE] [-g GROUP] USER [PASSWORD]

DESCRIPTION
     Tests the functionality of PAM stack.

OPTIONS
     -h     Print short help summary and exit.

     -v     Print program version and copyright information and exit.

     -s SERVICE
	    Select service name to use.  Default group is check.

     -g GROUP
	    Select PAM management group to check.  Allowed arguments are:

	    auth   Authentication group.  Call pam_authenticate.

	    acct   Account management.	Call pam_acct_mgmt.

	    open   Session management.	Call pam_open_session.

	    close  Session management.	Call pam_close_session.

	    pass   Password management.  Call pam_chauthtok.

EXIT CODES
     0	    Successful termination.

     1	    Invalid command line usage.

     2	    PAM stack returned error.

EXAMPLES
     1.     Test if the user smith can be authenticated using the check service.
	    The program will ask for password interactively:

     pamck smith

     2.     Same as above, but supply password on the command line:

     pamck smith guessme

     3.     Check if the user smith authenticates using the ftp service.

     pamck -s ftp smith

NOTE
     This  manpage  is a short description of pamck.  For a detailed discussion,
     including examples and usage recommendations, refer to the PAM-modules Man-
     ual available in texinfo format.  If the info reader and the tar documenta-
     tion 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/li-
     censes/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 31, 2014 			PAMCK(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=pamck&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help