diff options
Diffstat (limited to 'usr/bin/rmpasswd')
-rw-r--r-- | usr/bin/rmpasswd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/bin/rmpasswd b/usr/bin/rmpasswd index 00dd2e7..4caa991 100644 --- a/usr/bin/rmpasswd +++ b/usr/bin/rmpasswd @@ -2,5 +2,5 @@ while read p; do read -a arr <<< $p - passwd -d ${arr[0]} + passwd -l ${arr[0]} done <<< "$(passwd -Sa |egrep '^[^[:space:]]+[[:space:]]P[[:space:]]')" |