|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Where does id / getent query ?
I'm typing "id <user's id>" and its returning a different UID that what is defined in our administration system. Where does id / getent query and where is it configured to query? I'm guessing it queries the local /etc/passwd file first, and then if it doesn't find anything it would query LDAP correct?
|
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
Have a look at
/etc/nsswitch.conf
|
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Yep, did look in there but didn't see anything that matched "getent" or "id"...I'm assuming I'll eventually have to look at the source code for getent and see where it calls nsswitch.conf.
Edit: I think I have it. Thanks! Last edited by MaindotC; 11-13-2012 at 06:00 PM.. |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| getent hosts | snoman1 | Shell Programming and Scripting | 1 | 10-05-2012 03:49 PM |
| getent not working, solaris 10 only | BG_JrAdmin | Solaris | 6 | 02-10-2012 02:30 AM |
| Shell Script to execute Oracle query taking input from a file to form query | DevendraG | Shell Programming and Scripting | 2 | 11-10-2011 05:56 AM |
| Query Oracle tables and return values to shell script that calls the query | balaeswari | Shell Programming and Scripting | 6 | 02-04-2010 08:35 AM |
| add the output of a query to a variable to be used in another query | hazno | Shell Programming and Scripting | 0 | 03-24-2009 08:52 PM |
|
|