diff src/handle.rs @ 100:3f11b8d30f63

Implement environment variable management. This actually wires up the environment variable handling to libpam, so that applications and modules can manage the environment through the authentication process.
author Paul Fisher <paul@pfish.zone>
date Tue, 24 Jun 2025 17:08:01 -0400
parents b87100c5eed4
children dfcd96a74ac4
line wrap: on
line diff
--- a/src/handle.rs	Tue Jun 24 14:54:47 2025 -0400
+++ b/src/handle.rs	Tue Jun 24 17:08:01 2025 -0400
@@ -198,8 +198,8 @@
     trait_item!(
         /// Sets the identity of the remote user logging in.
         ///
-        /// This is usually set by the application before making calls
-        /// into a PAM session. (TODO: check this!)
+        /// This may be set by the application before making calls
+        /// into a PAM transaction.
         set = set_remote_user,
         item = "PAM_RUSER"
     );
@@ -220,8 +220,8 @@
     trait_item!(
         /// Sets the location where the user is coming from.
         ///
-        /// This is usually set by the application before making calls
-        /// into a PAM session. (TODO: check this!)
+        /// This may be set by the application before making calls
+        /// into a PAM transaction.
         set = set_remote_host,
         item = "PAM_RHOST",
         see = Self::remote_host