fix whoami and shutdown/reboot