Starting from Python 3.13, getpass.getuser() raises an OSError instead of a KeyError when the current UID doesn’t exist in /etc/passwd (i.e. when the user is ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results