File howdy-cli-py-getuid.patch of Package howdy
--- a/src/cli.py 2021-07-03 20:01:41.443759578 +0200 +++ b/src/cli.py 2021-07-03 20:01:08.982829010 +0200 @@ -80,7 +80,7 @@ # Check if we have rootish rights # This is this far down the file so running the command for help is always possible -if os.getenv("SUDO_USER") is None: +if os.getenv("SUDO_USER") is None and os.getuid() != 0: print("Please run this command as root:\n") print("\tsudo howdy " + " ".join(sys.argv[1:])) sys.exit(1)