I have a request on how to run as root. I have Kali Linux 2019.1 on an HP 15 Beats Audio. (No Windows). I love this on my regular user, but I want to use this specifically for root user. Without messing up some scripts, is there a section I can just comment out the section that searches for root user? Like the tor as root?
So, basically by commenting out the section
# Beond this point the user can't change anymore, if we still have root as user we need to abort
#if args.user == "root":
# print("Can't run howdy commands as root, please run this command with the --user flag")
# sys.exit(1)
in the cli.py file within the /lib/security/howdy/
we can then run as root.
Thanks anyway. I answered my own question.
I was writing the exact same thing, thanks for taking the time to figure it out yourself!
Most helpful comment
I was writing the exact same thing, thanks for taking the time to figure it out yourself!