Re: PAM rhost
Michael Ströder <[email protected]> Sat, 29 Feb 2020 17:06:55 +0100
| Newsgroups | gmane.comp.tools.sudo.user |
|---|---|
| Message-ID | <[email protected]> |
On 2/29/20 4:15 PM, Todd C. Miller wrote: > I used to set PAM_RHOST on all PAM systems but on Linux it resulted > in a DNS lookup via libaudit. I don't know if that is still the > case. I suppose it could be changed to a sudoers setting. Are you sure the DNS lookup was done by libaudit? Sounds a bit like this bug filed four years ago: https://bugs.launchpad.net/ubuntu/+source/pam/+bug/1571903 Furthermore there's an option 'log_format' in auditd.conf which seems to trigger all kind of name lookups in auditd. But this kind of implies that such a name lookup is not done in libaudit and thus would not block the application invoking PAM. Excerpt from auditd.conf(5): log_format [..] The ENRICHED option will resolve all uid, gid, syscall, architecture, and socket address information before writing the event to disk.[..] Is there a simple way to test that? Ciao, Michael. ____________________________________________________________ sudo-users mailing list <[email protected]> For list information, options, or to unsubscribe, visit: https://www.sudo.ws/mailman/listinfo/sudo-users