Re: Run app as root in X

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

 



Henning Larsen wrote:

Is there any way to do su in X?
The easiest way is to use kdesu (in kdebase).

Surely it's also pretty easy to su to root in a terminal window and
then run the required application from the root command line (or in
the case in question just create the folders/directories using the
su'ed comaand line).

--
Thanks.

OK, about creating folders using the su command, can you please explain
a bit more?

I want to as a regular user be able to edit config files. The safest
would be to get prompted for password, but it is not a must.


Open a terminal window and type:
su -
then enter the root password.  You can also set thing up so you can:
sudo su -
either without a password or with your own password instead of root's.
The trailing - means to pick up the login environment so you'll have the right PATH, etc.

You can then use all command line tools as root in this window or start X programs by typing their names. Keep in mind that you aren't limited to just editing config files in this mode. You can do anything with root permissions.

--
  Les Mikesell
   lesmikesell@xxxxxxxxx


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

  Powered by Linux