PAM_CHATTY(8)

✨ pam_chatty β€” the manual, but make it a group chat ✨

okay so bestie, this is pam_chatty, and it lives in section 8 of the manual pages πŸ’–


🌸 NAME 🌸

pam_chatty β€” a PAM test module that generates PAM info and error messages. she's a chatterbox, that's literally her whole thing πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

pam_chatty.so [...]

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: the pam_chatty module makes it easy to replicate the behaviour of PAM modules that generate a lot of output, so you can make sure that PAM clients react as expected. basically it's a stand-in for that one friend who will not stop talking, and you use it to test that everyone else in the group chat handles it gracefully 🫢


πŸ’€ IMPORTANT πŸ’€

pam_chatty is a test tool. It should be considered completely insecure and never used outside test environments! 🚨

fr fr. no cap. As you'll see when reading the description of the options, many of them don't make any sense in the real world and were added just to make tests possible. she's not built for real life, she's built for the lab πŸ§ͺ

the pam_chatty module generates a lot of PAM info and error output when its authentication method is called, and then returns success. that's it. that's the whole personality ✨


πŸ’… OPTIONS πŸ’…

  • num_lines=NUMBER β€” the number of lines of messages to output, for each one of the enabled types of messages selected. yes, you pick how much she yaps πŸ“’
  • error β€” whether to output error level messages. the dramatic ones 😭
  • info β€” whether to output info level messages. the chill ones 🌈

πŸ‘‘ MODULE TYPES PROVIDED πŸ‘‘

Only the auth module type is supported. one trick pony? no, she's a specialist πŸ’…


🌟 EXAMPLE 🌟

auth            required        pam_chatty.so num_lines=16 info error

and that's the whole page bestie, you ate it, iconic, periodt πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ«Ά

this page is from 2020-03-05, and it's the manual for PAM_CHATTY(8) β€” go forth and test responsibly, mwah πŸ’œ