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
- ubuntu stonking: libpam-runtime 1.7.0-5ubuntu4 ยท BSD-3-Clause OR GPL
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms