How to get Root rights?

I encountered a problem loading the Steam library into Lutris. But to fix the error, you need to make code changes to the Python file.