move parsing to command line arguments to main body
move update_lastchange() function from shadow to pam code