Re: switching to root from desktop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi soraberri,

soraberri wrote:
Hi all

maybe there is a simple to way to solve this nuisance but I didn't find it, maybe you could suggest me one:

when I'm for example browsing through the filesystem as a non-root user and I open a text file wich I want to edit, change and save, how can I "su" to root in order to do it in the same graphical desktop enviroment?
I mean: what is the equivalent to the su command for the desktop?



as root edit /etc/sudoers, and copy the line

   root    ALL=(ALL) ALL

and change it to

   soraberri ALL=(ALL) ALL

from now on you can run programs as user soraberri as follows

  sudo `programname`

this runs `programname` as root. If you want to switch to root you can
use

   sudo su -


thanks to all and try to have a very nice day, sometimes it only depends on us.!

Same here :-)



Hth.

Alex


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux