bash login helpers