uhm, the sudo part does NOT always work, but typing su and giving root password mostly does.
when the commands have been typed you then type
exit
to end the "root" session.