Mercurial > crates > nonstick
comparison src/handle.rs @ 169:77470e45e397
Set up stuff to work the way Sun expects it to.
This sets up PAM to use pam_authtok_get.so on Sun machines.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Tue, 15 Jul 2025 01:32:21 -0400 |
parents | 2f5913131295 |
children | e27c5c667a5a |
comparison
equal
deleted
inserted
replaced
168:6642e89d29a2 | 169:77470e45e397 |
---|---|
154 pub trait ModuleClient: Conversation + PamShared { | 154 pub trait ModuleClient: Conversation + PamShared { |
155 /// Retrieves the authentication token from the user. | 155 /// Retrieves the authentication token from the user. |
156 /// | 156 /// |
157 /// This should only be used by *authentication* and *password-change* | 157 /// This should only be used by *authentication* and *password-change* |
158 /// PAM modules. | 158 /// PAM modules. |
159 /// | |
160 /// With Sun's PAM implementation, this works a little bit differently | |
161 /// than it does everywhere else. Sun's PAM provides for password input | |
162 /// *exclusively* though module stacking with the | |
163 /// [`pam_authtok_get` module][pam_authtok_get]. On Sun, this function | |
164 /// is exactly equivalent to [`Self::authtok_item`], in that it only | |
165 /// retrieves the existing item. | |
159 /// | 166 /// |
160 /// # References | 167 /// # References |
161 /// | 168 /// |
162 #[doc = linklist!(pam_get_authtok: man7, manbsd)] | 169 #[doc = linklist!(pam_get_authtok: man7, manbsd)] |
163 /// | 170 /// |