Run as root

From MEPIS Documentation Wiki

Jump to: navigation, search

What does "run as root" mean?

Running a program as root means to run the program with the root (administrator) credentials. Usually Linux users prefer to use a normal user for normal activities and use root (administrator) account only when they need to perform system wide changes. Running as root all the time is not recommended.

In Console

To run a program as root start the Konsole, type su, input the root password when prompted and then type the name of the program. Read this if you get XHost errors.

GUI program

To run a GUI program as root use kdesu. I will use kwrite (a text editor) in the following examples:

  • Right-click on the desktop and choose "Run Command" (you can access "Run Command" from KDE Menu too). Type "kdesu kwrite" and type root password when prompted.
  • In Konsole type "kdesu kwrite" and input root password when prompted.

In the latest version of KDE (depending on customization) when you right-click on a file and go to Action you might have Run as root or Edit as root options available.

Personal tools
In other languages