switching to root from desktop

Peter Cannon peter at cannon3.wanadoo.co.uk
Fri Dec 17 12:05:05 UTC 2004


On Friday 17 December 2004 11:25, Alexander Apprich wrote:

> 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 :-)

Suse Pro 9.1 has the ideal feature as standard 'switch user button' it locks 
your current session presents you with a new log in, log on as root (or who 
ever) do what you gotta do end the session and your back to standard user.

I wish Fedora had this its great for people like me with limited command line 
skills much easier than messing about editing config files.

Just a thought ;-)


-- 
Regards
Peter Cannon




More information about the fedora-list mailing list