• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux pam_envfeed Download

pam_envfeed

May 16, 2006
pam_envfeed is a PAM module that defines environment variables by running an external program and retrieving its output.
Version 0.4
License GPL
Platform Linux
Supported Languages English
Homepage ftp.uhulinux.hu
Developed by Egmont Koblinger
Pam_envfeed is an effective PAM module that runs an external program and defines any emitted environment variables. This is particularly advantageous when establishing a dynamic PATH structure which is dependent on varying circumstances. The module can be utilized as either an 'auth', 'account' or 'session' module, depending on your preferences. Although the 'session' module is typically the best fit when considering the environment variables, some users may prefer a different approach.

To set up the module, add a line such as this to the relevant pam.d file: session required /lib/security/pam_envfeed.so. Once assembled, the pam_envfeed module will launch the default external program, /sbin/pam_envfeed, when managing credentials, performing account management, or opening sessions. However, it is possible to select a different external program by using a module argument. The program can be either binary or a script; don't forget to include execute permissions and a #! line if opting for a script.

The external program will have its standard input and standard error linked to /dev/null, while the standard output is connected by a pipe to the parent process. Other file descriptors will not be open. The program receives four various kinds of environment variables: PAM_*, USERINFO_*, ENV_*, and PAMENV_*. PAM_RHOST, PAM_RUSER, PAM_SERVICE, PAM_TTY, and PAM_USER environment variables are set to the corresponding values in the PAM system. Only those where pam_get_item() returns a non-NULL value will be set, so some may be unset.

USERINFO_* provides an entry lookup feature for the user's home directory, which can be difficult to obtain in bash. If getpwnam() is successful, USERINFO_UID, USERINFO_GID, USERINFO_GECOS, USERINFO_HOME, and USERINFO_SHELL are set, and the group name is stored in USERINFO_GROUP if getgrgid() is successful. To disable the whole userinfo lookup, the nouserinfo option can be used.

ENV_* defines a counterpart for actual environment variables that the pamming process possesses with an ENV_ prefix. For instance, if the authenticating app has LC_ALL=hu_HU, then EVP_LC_ALL=hu_HU is defined. PAMENV_* defines a counterpart for pam environment variables that the pamming process possesses with a PAMENV_ prefix. For example, if pam_env.so previously established DISPLAY=kenny:0.0 then PAMENV_DISPLAY=kenny:0.0 is defined.

To illustrate usage, a simple example script is provided in the example subdirectory. The script establishes PATH and MAIL to their most basic values on Linux systems. Overall, pam_envfeed is an effective module for defining environment variables through external programs with various options and safeguards to streamline the process.
What's New

Version 0.4: N/A

Free Download 17K
380
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    154
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    89
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    80
  6. porm r2
    73
  7. Clewarecontrol 0.8
    72
  8. Java Games 1.0
    72
  9. Swiftfox 3.0b5pre-2
    71
  10. fuseftp 0.8
    71

Related Downloads

Reverse Snowflake Joins
A software tool that diagrammatically illustrates SQL Select queries by parsing them.
Beethoven and the Lost Symphony
This is an adventure game developed using Python language and PyGame framework.
Filler in Java
"Filler" is a Java-based game that involves capturing coloured hexagons by changing ...
CloudBuddy Analytics
This software produces in-depth statistical reports on S3 bucket access.
ts2mpa
TS2MPA is a user-friendly software designed to extract MPEG audio from MPEG-2 ...
Makepack
Makepack compiles software using a Makefile, rule files, and a settings file. ...
DoctorJ
DoctorJ is a Java documentation analysis tool for software developers. It is ...
Xe
Xe is an emulator that allows multiple old gaming systems to be ...
nested_dict
This software provides a defaultdict extension that works for dictionaries containing multiple ...
Dents
Dents is a unique implementation of the DNS protocol's server side with ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.