Skip to content
Sign upLog in
Is there a way to become root on here?
Profile icon
s9090159

Title

You are viewing a single comment. View All
Profile icon
Dunce

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

Profile icon
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.

Profile icon
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.

Profile icon
mavaddat

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

Profile icon
Dunce

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