I am writing a python script that requires root privileges to run, and I want to launch a gnome-terminal, but when I do it launches it as root, which is a safety hazard. Is there any way I can launch the terminal as normal user in Ubuntu?
My command looks like this
os.system("gnome-terminal")