os.getlogin() by more robust pwd.getpwuid(os.geteuid()).pw_name otherwise no-login shells crash