summaryrefslogtreecommitdiff
path: root/account
diff options
context:
space:
mode:
Diffstat (limited to 'account')
-rw-r--r--account/commands.mdwn2
1 files changed, 1 insertions, 1 deletions
diff --git a/account/commands.mdwn b/account/commands.mdwn
index 7a575df..c02c482 100644
--- a/account/commands.mdwn
+++ b/account/commands.mdwn
@@ -92,4 +92,4 @@ TODO: Rewrite as automated syslog-ng plugin or cron script passing the message t
### Locate users with short password lifespan
- (group=<gruppe>; echo $group:; for user in `members $group`; do chage -l $user|egrep -q '^Maximum:[[:blank:]]*[0-9]{2}$' && printf $user'\t' && chage -l $user|egrep '^Password Expires:'; done)
+ (group=<gruppe>; echo $group:; for user in `members $group`; do chage -l $user|egrep -q '^Maximum:\[[:blank:]]*[0-9]{2}$' && printf $user'\t' && chage -l $user|egrep '^Password Expires:'; done)