List of users on system

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



Hey All,

Does anyone know of a way of getting a list of all the users on a system 
though PAM.

I know that I could just list the /etc/passwd file but I'm trying to 
write something that is more generic and will also work for NIS or LDAP 
(etc) lookups.  I suppose it is probably unlikely to be there as it is 
probably a security risk.

I need to globally update the password aging settings (which I can do 
though chage/passwd) on existing accounts.

Thanks in advance

Regards

Lee

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux