Thanks for replying.
I tried the command below :
Code:
passwd -S -a | grep LK | cut -d " " -f1
Code:
passwd -S -a |awk '/LK/{print $1}'
but the system warns that "passwd: bad argument -a: unknown option".
I think there is no argument -a in this linux version.
I found that if a user is locked .there is a !! symbol in the row in the file /etc/shadow.
Code:
zr:!!$1$GDBXQuoJ$vnxddvimJCknM1P9HFz0v1:14347:0:99999:7:::