Getting root privileges in live running session of Ubuntu 11.10

Asked by pepmontseny

Please can somebody explain to me how to get root privileges in a live session running on a PC?
I want to copy some files and I can't because I have no root privileges.

I am sure this is very easy.

Thanks in advance

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu sudo Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#1

You can use terminal or nautilus to copy files so:

if you are using terminal you can:

- use temporary root permission on a single command using sudo (strongly suggested)

sudo cp

- or get plain root terminal access by type:

sudo -i

- or to use nautolus as root type:

gksudo nautilus

Revision history for this message
pepmontseny (peplanas-mesvilaweb) said :
#2

Thanks marcobra (Marco Braida), that solved my question.