[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tiger-devel] [PATCH] check_accounts: fix check_disabled call
From: |
Nicolas François |
Subject: |
[Tiger-devel] [PATCH] check_accounts: fix check_disabled call |
Date: |
Sat, 20 Sep 2003 05:14:34 +0200 |
User-agent: |
Mutt/1.5.4i |
Hello,
I've tried check_accounts. It failed with these warnings:
/usr/lib/tiger/scripts/check_accounts: eval: line 3: syntax error near
unexpected token `adm'
/usr/lib/tiger/scripts/check_accounts: eval: line 3: `adm|bin|[...])'
Also, I had a report for a disabled user (me :), that have a
.forward file which executes commands (acc003w).
I've fixed the call of check_disabled (add the shell argument), and
changed check_disabled so it use $1 - $4 for its arguments (and doesn't
read them on input).
I think the issue is fixed (I don't have any warning now and the report
seems correct), but am still a little bit confused about the warnings
(was $user empty on line 263, due to check_disabled reading input of
check_users?).
hth
--
Nekral
check_accounts_fix_check_disabled.diff
Description: Text document
- [Tiger-devel] [PATCH] check_accounts: fix check_disabled call,
Nicolas François <=