OPENPAM_TTYCONV(3)
πΈ NAME πΈ
openpam_ttyconv β simple tty-based conversation function. This is the OPENPAM_TTYCONV(3) page from the Library Functions Manual, bestie, and it's giving "let's talk to the terminal" energy. π
β¨ SYNOPSIS β¨
#include <sys/types.h>
#include <security/pam_appl.h>
#include <security/openpam.h>
int
openpam_ttyconv(int n, const struct pam_message **msg,
struct pam_response **resp, void *data);
π DESCRIPTION π
Okay so openpam_ttyconv() is a standard conversation function suitable for use on TTY devices. It should be adequate for the needs of most text-based interactive programs β like, it's the reliable bestie for terminal chats. π«Ά
The openpam_ttyconv() function lets the application specify a timeout for user input by setting the global integer variable openpam_ttyconv_timeout to the length of the timeout in seconds. So yes, set that integer, and the timeout is in seconds β no cap. β³
π RETURN VALUES π
The openpam_ttyconv() function returns one of the following values:
PAM_SUCCESSβ Success. iconic. πPAM_BUF_ERRβ Memory buffer error. πPAM_CONV_ERRβ Conversation failure. πPAM_SYSTEM_ERRβ System error. π¨
π¦ SEE ALSO π¦
openpam_nullconv(3), pam(3), pam_prompt(3), pam_strerror(3), pam_vprompt(3) β go read these too, bestie. π
β STANDARDS β
The openpam_ttyconv() function is an OpenPAM extension. periodt. β¨
π AUTHORS π
The openpam_ttyconv() function and this manual page were developed for the FreeBSD Project by ThinkSec AS and Network Associates Laboratories, the Security Research Division of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 (βCBOSSβ), as part of the DARPA CHATS research program. That's a whole lot of lore, fr fr. π§
The OpenPAM library is maintained by Dag-Erling SmΓΈrgrav <des@des.no>. Say hi to the maintainer! π
Okay so that's the whole page, and this cutie came from Debian, dated June 27, 2023 β that's the source/version and date from the footer, folded into this little sign-off. bye bestie! ππβ¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- nixos 26.05: openpam 20230627
- nixpkgs unstable: openpam 20230627
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms