This is the way I do it, may not be the best but it works.  All disabled
accounts start with '!' in the encrypted password, so if you do a
'radius:/etc# cat shadow |grep :!' in your path of your shadow file it will
show accounts that are disabled.

Regards
Nathan

> From: Robert Brown <[EMAIL PROTECTED]>
> Date: Wed, 13 Dec 2000 09:06:22 -0500
> To: [EMAIL PROTECTED]
> Subject: Locked accounts
> Resent-From: [EMAIL PROTECTED]
> Resent-Date: Mon, 11 Dec 2000 04:13:25 +1000
> 
> I routinely use passwd -l username to lock customers with overdue balances.
> Is
> there a way to list all accounts that are locked?
> 
> 
> --  
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to