Is there a way to become root on here?
s9090159

Title

You are viewing a single comment. View All
Dunce

I know this is an ancient post. But the solution from the deleted user actually works, I tried it.

mavaddat

@Dunce "Works" to do what? It downloads opera browser, extracts it, and moves the binary to opera. At no point does this script even request or acquire root privileges. Nothing that it does requires root privileges either. You can do all of that from bash without issues.

Dunce

@mavaddat Idk, I just needed to get root privileges for something I was working on, and I tried this, and it seemed to work.

mavaddat

@Dunce Do you mean that the subprocess.call method is able to acquire root?

Dunce

@mavaddat Maybe, I don't know what I'm talking about. If you really want to know you can run the code yourself :)