need pid of login process

Signed-off-by: Mattias Andrée <maandree@operamail.com>
m

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add log-login-btmp

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add log-login-utmp

Signed-off-by: Mattias Andrée <maandree@operamail.com>
more code reuse

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add support for ~/.prelogin

Signed-off-by: Mattias Andrée <maandree@operamail.com>
m + add log-login-lastlog

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add log-login-syslog

Signed-off-by: Mattias Andrée <maandree@operamail.com>
fix warnings

Signed-off-by: Mattias Andrée <maandree@operamail.com>