bash script for acknowledging of login messages & logging acceptance