From bbba24575445e04a1580191a53edee3113c11a65 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 24 Oct 2007 23:59:25 +0200 Subject: Lots of various improvements all over (from homebase.dk branch). --- account/commands.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'account') 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=; 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=; 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) -- cgit v1.2.3