running programs as root

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
ace w1zard

running programs as root

Post by ace w1zard »

do you guys know how can i run programs as root,
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
chowanec
Level 3
Level 3
Posts: 104
Joined: Fri Dec 14, 2007 11:59 am

Re: running programs as root

Post by chowanec »

have you tried:

from a terminal:

Code: Select all

sudo <command you want to run>
or from the terminal, but "graphical":

Code: Select all

gksu <command you want to run>
(on a PC netbook, and I never use gksu, so it might be gksudo for all I know.)

Chow
mick55

Re: running programs as root

Post by mick55 »

Hi Chow

On Ubuntu based systems I use gksudo.

gksu is a frontend to su and gksudo is a frontend to sudo.

I believe the difference is that as su you are root and as sudo
you are running with the security privileges of root, and which one you use
affects permissions and path.

I'm sure someone else will put it more elegantly.
Locked

Return to “Beginner Questions”