summaryrefslogtreecommitdiff
path: root/account
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2007-10-24 23:59:25 +0200
committerJonas Smedegaard <dr@jones.dk>2007-10-24 23:59:25 +0200
commitbbba24575445e04a1580191a53edee3113c11a65 (patch)
tree173a706c666dee7f5a3ea2ad1acdf8f2517a686a /account
parent8f6dd8985f908201b7fa18eba348748a1b97a086 (diff)
Lots of various improvements all over (from homebase.dk branch).
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)