shell based password management script