man-pages/man8/pam_getenv.8.html
2021-03-31 01:06:50 +01:00

60 lines
1.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of PAM_GETENV</TITLE>
</HEAD><BODY>
<H1>PAM_GETENV</H1>
Section: User Contributed Perl Documentation (8)<BR>Updated: 2020-07-21<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
pam_getenv - get environment variables from /etc/environment
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
pam_getenv <B>[-l] [-s]</B> <I>env_var</I>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
This tool will print out the value of <I>env_var</I> from <I>/etc/environment</I>. It will attempt to expand environment variable references in the definition of <I>env_var</I> but will fail if <FONT SIZE="-1">PAM</FONT> items are expanded.
<P>
The <B>-l</B> option indicates the script should return an environment variable related to default locale information.
<P>
The <B>-s</B> option indicates that the script should return an
system default environment variable.
<P>
Currently neither the <B>-l</B> or <B>-s</B> 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.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:14 GMT, March 31, 2021
</BODY>
</HTML>