This is a discussion on How to distinguish LDAP account from local account within the Linux Security forums, part of the System Security and Security Related category; Hi, I have my system's PAM configured to authenticate through LDAP. I need a way, given an account or ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I have my system's PAM configured to authenticate through LDAP. I need a way, given an account or group, to figure out two things: A) Is the account or group a local account or a remote LDAP account B) Is there a local account or group that shares the same name? Any help would be greatly appreciated. Thanks. Xin Li |
|
|||
|
Xin Li wrote: > Hi, > > I have my system's PAM configured to authenticate through LDAP. I > need a way, given an account or group, to figure out two things: > > A) Is the account or group a local account or a remote LDAP account > B) Is there a local account or group that shares the same name? > > Any help would be greatly appreciated. Thanks. > > Xin Li in file /etc/nsswitch.conf see order, if file nisplus nis ldap .... |
|
|||
|
Xin Li <xinli1@illinoisalumni.org> wrote:
> A) Is the account or group a local account or a remote LDAP account > B) Is there a local account or group that shares the same name? grep ${user} /etc/passwd grep ${group} /etc/group ?? Doug -------- Senior UNIX Admin O'Leary Computer Enterprises dkoleary@attbi.com (w) 630-904-6098 (c) 630-248-2749 resume: http://home.attbi.com/~dkoleary/resume.html |