PAM_GETENV(8)

โœจ NAME โœจ

okay so bestie, meet pam_getenv โ€” aka PAM_GETENV(8) if we're being all formal โ€” from the User Contributed Perl Documentation crew. Its whole thing? Get environment variables from /etc/environment. Periodt. ๐Ÿซถ

๐Ÿ’… SYNOPSIS ๐Ÿ’…

pam_getenv [-l] [-s] env_var

๐ŸŒธ DESCRIPTION ๐ŸŒธ

This tool will print out the value of env_var from /etc/environment. โœจ

It will attempt to expand environment variable references in the definition of env_var, but it will fail if PAM items are expanded. ๐Ÿ˜ญ no cap.

The -l option indicates the script should return an environment variable related to default locale information.

The -s option indicates that the script should return a system default environment variable.

Currently neither the -l or -s options do anything. They are included because future versions of Debian may have a separate repository for the initial environment used by init scripts and for system locale information. These options will allow this script to be a stable interface even in that environment. Future-proofing queen ๐Ÿ‘‘


and that's the whole page, bestie! This beauty comes from Debian GNU/Linux, dated 2026-07-16, and it lives under PAM_GETENV(8). bye bestie, go get those env vars ๐Ÿ’…๐ŸŽ€

๐Ÿ“ฆ where this page comes from