diff -rupN lockout-0.2.3/etc/cron.d/lockout lockout_patched/etc/cron.d/lockout --- lockout-0.2.3/etc/cron.d/lockout 2013-07-29 14:56:11.722783655 -0300 +++ lockout_patched/etc/cron.d/lockout 2013-07-29 14:58:27.311575882 -0300 @@ -1,5 +1,5 @@ # lockout needs to check every minute whether it's time to unlock -*/1 * * * * root /usr/bin/lockout unlock >/dev/null 2>&1 +*/1 * * * * /usr/bin/lockout unlock >/dev/null 2>&1 # rebooting *MUST* restore the root password -@reboot root /usr/bin/lockout unlock force >/dev/null 2>&1 +@reboot /usr/bin/lockout unlock force >/dev/null 2>&1 diff -rupN lockout-0.2.3/usr/bin/lockout lockout_patched/usr/bin/lockout --- lockout-0.2.3/usr/bin/lockout 2013-07-29 14:56:16.562527557 -0300 +++ lockout_patched/usr/bin/lockout 2013-07-29 15:24:14.180135051 -0300 @@ -87,8 +87,8 @@ be unlocked. /etc/cron.d/lockout B contain the following two entries: - */1 * * * * root /usr/bin/lockout unlock >/dev/null 2>&1 - @reboot root /usr/bin/lockout unlock force >/dev/null 2>&1 + */1 * * * * /usr/bin/lockout unlock >/dev/null 2>&1 + @reboot /usr/bin/lockout unlock force >/dev/null 2>&1 The examples that follow assume you are using L and you have a file, F which is the normal F file, and @@ -260,8 +260,8 @@ sub lock { my ($unlock, $unlock_force) = (0, 0); while() { my $valid = 0; - /^\s*\*\/1\s+\*\s+\*\s+\*\s+\*\s+root\s+(\S+)\s+unlock\s*.*$/ and $valid = $unlock = 1; - /^\s*\@reboot\s+root\s+(\S+)\s+unlock\s+force\s*.*$/ and $valid = $unlock_force = 1; + /^\s*\*\/1\s+\*\s+\*\s+\*\s+\*\s+(\S+)\s+unlock\s*.*$/ and $valid = $unlock = 1; + /^\s*\@reboot\s+(\S+)\s+unlock\s+force\s*.*$/ and $valid = $unlock_force = 1; if($valid) { -x $1 or print "$1 does not exist or is not executable. run 'crontab -u root -e'\n" and exit -1; @@ -273,8 +273,8 @@ sub lock { print <