[CentOS] username list?

Stephen Harris lists at spuddy.org
Fri Jul 13 03:13:08 UTC 2007


On Thu, Jul 12, 2007 at 09:32:11PM -0400, Matt Hyclak wrote:
> 'getent passwd' should be portable across any account storage accessible
> through pam. 

You said the magic word that makes things infinitely more complicated
("PAM") and that renders your answer incorrect.  "getent" uses naming
services (nsswitch.conf).  PAM doesn't.  An account visible via getent
may not be valid on a box.

-- 

rgds
Stephen



More information about the CentOS mailing list