UPWORK/ODESK guru: Tips and Tricks for clients

skype: upwork.link , email: info@upwork.link

How to list all locked account in linux?

without comments

passwd -S user
passwd -S -a | grep LK | cut -d " " -f1
cat /etc/passwd | cut -d : -f 1 | awk '{ system("passwd -S " $0) }'

Written by spectre

February 8th, 2014 at 6:21 pm

Posted in Tips and Tricks

Leave a Reply

*