How do I run a program as root?

How do I run a program as root?

Warning

  1. Open the Run Command dialog by typing: Alt-F2.
  2. Enter the name of the program you wish to run, prefixed with kdesu and press Enter. For example, to launch the file manager Konqueror with root privileges, type kdesu konqueror.

How do I access root in gnome?

Enabling Root User For GNOME Display Manager

  1. Login in as a regular user and open the terminal (command line) and edit the configuration text file su -c ‘gedit /etc/pam.d/gdm’
  2. Locate the line that that read as follows: auth required pam_succeed_if.so user !=
  3. Remove or comment out line by prefixing #.

How do I login as root in Fedora?

[How To] Enable Root Login on Fedora

  1. Open Terminal from Applications -> System Tools.
  2. Login into system as root or become superuser. su –
  3. Edit /etc/pam.
  4. Put # before auth required pam_succeed_if.so user !=
  5. Save and exit the editor.
  6. Do the same with files in /etc/pam.
  7. Save and close all files, reboot your Fedora system.

How to start Ubuntu GNOME application as root user?

Start an Ubuntu Gnome Application as Root User. Ubuntu Linux runs the the desktop as a regular user account, and so all programs launched are launched in the context of a normal user account. To run a command-line program with superuser(root) priviledges, you normally will preceed the command with “sudo”, as shown in this example:

How do I run a GUI program as root?

To launch a gui program as root, use “kdesu” in KDE, or gnomesu in Gnome. This will also allow root access to your screen. However, admin programs launched from the menu will prompt you for the root password so this may not be necessary.

How can I run a program as root?

You can easily and quickly run any program as root by preceeding the command with the “gksu” command. For instance, let’s launch xterm as root by hitting Alt+F2 to bring up the quick run dialog: We’ll first see the password dialog shown above, enter your password… and there we go – we now have a terminal running as root: Easy stuff!

How do I open a directory as root?

Press Alt F2 to run a command and then enter gksu nautilus (using gksu is the recommended way to open GUI’s with root permissions). There’s a nautilus script that allows you to open a directory as root, look for nautilus-gksu on your repositories.