[Sussex] List of Users

Lee W sxlug-list at unassemble.co.uk
Fri May 13 22:32:55 UTC 2005


Thomas Adam wrote:

>On Fri, May 13, 2005 at 08:18:34PM +0100, Lee W wrote:
>  
>
>>Hey All,
>>
>>Does anyone know of a way of getting a list of all the users on a
>>system though PAM.
>>    
>>
>
>getent passwd | awk -F: '$3 > 499 {print $1}'
>  
>
Thank you, just what I needed

>>I need to globally update the password aging settings (which I can do
>>though chage/passwd) on existing accounts.
>>    
>>
>
>Why not just call chage(1)?
>  
>
Just tried to suggest that there is more than one way to change the 
settings, but chage would be the most suitable option, you are right :-)

>-- Thomas Adam
>  
>




More information about the Sussex mailing list