[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: which shell I'm using?



On Thu, Mar 04, 2004 at 09:41:25AM -0800, Ben Yau wrote:
> Also, I had never heard of getent either. I played with it a bit and half
> expected to see getent as a shell script to grep instead of the binary file
> which it is.

The reason why it's not a shell script to grep is that your password
file etc. might not be in /etc/passwd. For instance, debian.org systems
have a stub /etc/passwd file with system users, and the rest of the
password file is in a database file distributed from a central LDAP
server.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: