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 β€” Authenticate user. a conversation may subsequently take place to prompt user input to retrieve necessary authentication information. πŸ’¬
  • acct_mgmt β€” Perform account management on user. a conversation may subsequently take place to prompt user input for necessary authentication information. πŸ—‚οΈ
  • open_session β€” Open a new session for user. πŸšͺ✨
  • close_session β€” Close the current session for user. πŸšͺπŸ’€
  • chauthtok β€” Change the authentication token currently assigned to user. 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_SILENT
  • PAM_DISALLOW_NULL_AUTHTOK
  • PAM_ESTABLISH_CRED
  • PAM_REINITIALIZE_CRED
  • PAM_REFRESH_CRED
  • PAM_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:

  • service
  • user
  • prompt
  • tty
  • ruser
  • rhost

🌟 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 variable var to value. 🌱

πŸ‘‘ 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 Β© 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. πŸ’…βœ¨πŸŽ€