switching to root from desktop
A.Apprich at science-computing.de
Fri Dec 17 11:25:18 UTC 2004
> 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
this runs `programname` as root. If you want to switch to root you can
sudo su -
> thanks to all and try to have a very nice day, sometimes it only depends
> on us.!
Same here :-)
More information about the users