[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Identifying Origin with PAM/nsswitch
- From: CJ Bridges <gratch06 gmail com>
- To: pam-list redhat com
- Subject: Identifying Origin with PAM/nsswitch
- Date: Tue, 10 Jun 2008 15:59:14 -0700
PAM and nsswitch typically appear to be used in tandem to manage
logins on most Linux systems.
In a situation where a linux machine was configured to use "local nis
ldap" for user authentication, the behavior when Joe tries to log in
is (simplified):
Is Joe a local user? Verify password if so.
If not local, is Joe an NIS user? Verify password if so.
If not NIS, is Joe an LDAP user? Verify password if so.
After that authentication procedure using the various PAM modules as
appropriate, Joe has successfully logged in, and is working under an
appropriate uid.
Later on, is there any way to figure out where Joe is really defined
as a user, and/or how he logged in (via which module)? getpwuid and
friends would not appear to offer any distinction between the various
user classes.
Thanks,
CJ Bridges
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]