PAMTESTER(1)
β¨ PAMTESTER(1) β¨
okay bestie, gather round, because today we're talking about pamtester β the little command that lets you poke at the pluggable authentication module (PAM) facility and see what it does. π
no cap, this is the manual for the pamtester command from the General Commands Manual, and we're gonna get into every single bit of it. π
πΈ NAME πΈ
pamtester β test pluggable authentication module (PAM) facility π¦
π SYNOPSIS π
pamtester [-v] [-I item=value] [-E var=value] service user operation
[operation ...]
β¨ DESCRIPTION β¨
So the whole vibe here is: test pluggable authentication module (PAM) facility. that's it, that's the job. π«Ά
service is the PAM service name. user is the name of the user account to operate with the PAM facility. and then there's a list of operations you can throw at it, which we are about to go through one by one because we don't skip. π―
π₯ The Operations π₯
authenticateβ Authenticateuser. a conversation may subsequently take place to prompt user input to retrieve necessary authentication information. π¬acct_mgmtβ Perform account management onuser. a conversation may subsequently take place to prompt user input for necessary authentication information. ποΈopen_sessionβ Open a new session foruser. πͺβ¨close_sessionβ Close the current session foruser. πͺπchauthtokβ Change the authentication token currently assigned touser. Conversation may subsequently take place to prompt user input for necessary authentication information. π
heads up bestie: some operations may eventually need additional privileges to fulfill the request depending on the service configuration. so like, don't be shocked if it asks for more power. π
π Operation Flags π
Any operation may also be followed by the option flags that are provided between the pair of parenthesis. Flags are all named and combinable or inversible with bitwise operators; "|" (OR), "&" (AND), "^" (XOR) and "~" (NOT) are accepted. the way that bitwise operators just work here? iconic. π
authenticate(PAM_SILENT | PAM_DISALLOW_NULL_AUTHTOK)
The list of allowed options is shown below:
PAM_SILENTPAM_DISALLOW_NULL_AUTHTOKPAM_ESTABLISH_CREDPAM_REINITIALIZE_CREDPAM_REFRESH_CREDPAM_CHANGE_EXPIRED_AUTHTOK
π Extra Auth Info π
Additional authentication information such as the name of the remote user, the remote host and the tty can be supplied via -I (--item) option. π§
The following types of information are supported:
serviceuserpromptttyruserrhost
π OPTIONS π
-v,--verboseβ Turn on verbose mode. she's chatty now. π£οΈ-I item=value,--item item=valueβ Provide additional information to authentication module. π₯-E var=value,--env var=valueβ Set environment variablevartovalue. π±
π AUTHOR π
Written by Moriyoshi Koizumi <moriyoshi@users.sourceforge.net>. legend behaviour, fr fr. π
π REPORTING BUGS π
Report bugs to <pamtester-bugs@lists.sourceforge.net>. please be nice, they're doing their best. π«Ά
π COPYRIGHT π
Copyright Β© 2004 - 2005 Moriyoshi Koizumi. All rights reserved. π
π SEE ALSO π
pam(7)β go read it, iykyk. π
and that's the whole page, bestie!! no notes, ate and left no crumbs. this was pamtester version 0.1.2, from March 2005 β yes she's an old queen and she still slays. π
β¨π
π¦ where this page comes from
- debian bookworm: pamtester 0.1.2-4 Β· BSD-3-Clause
- debian trixie: pamtester 0.1.2-4 Β· BSD-3-Clause
- epel 10: pamtester 0.1.2-27.el10_0 Β· BSD-3-Clause
- epel 9: pamtester 0.1.2-19.el9 Β· BSD
- fedora 43: pamtester 0.1.2-29.fc43 Β· BSD-3-Clause
- fedora 44: pamtester 0.1.2-30.fc44 Β· BSD-3-Clause
- nixos 26.05: pamtester 0.1.2
- nixpkgs unstable: pamtester 0.1.2
- ubuntu jammy: pamtester 0.1.2-4 Β· BSD-3-Clause
- ubuntu noble: pamtester 0.1.2-4 Β· BSD-3-Clause
- ubuntu resolute: pamtester 0.1.2-4build1 Β· BSD-3-Clause
- ubuntu stonking: pamtester 0.1.2-4build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms