@timjr yes it should have been based off os.geteuid(), but getpass.getuser() is supported on windows and linux and so I used that.