diff --git a/chkcrontab b/chkcrontab index 7db27b18fa1701c97e498ea61d86f282cb5a7c9d..0fe3299414ae7d946d2c9956b385dd30cad83415 100755 --- a/chkcrontab +++ b/chkcrontab @@ -37,6 +37,7 @@ def main(argv): parser = ArgumentParser(description="Parse crontab files and check each type of line for potential syntax errors.") parser.add_argument('crontab', help='the crontab file to parse') parser.add_argument('--whitelist','-w', action='append', dest='whitelisted_users', help='A user to ignore when warning of unrecognized users This argument may be passed multiple times.', default=None) + parser.add_argument('-n', '--no-check-passwd', action='store_false', dest='check_passwd', help='Disable user lookup') args = parser.parse_args() log = check.LogCounter()