how to run apps as admin

Asked by bazsik

What command should I type in the command line if I want t run ex a GnomeCommander as an admin.
I want to create ex in a folder in GC and I no have admin priv. How can I solv it in the easiest way?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
bazsik
Solved:
Last query:
Last reply:
Revision history for this message
Beau Bechdol (bbechdol) said :
#1

Well you can run it like this from a terminal:

gksudo gnomecommander

OR

sudo gnomecommander

I would recommend using the first command becasue if you run graphical apps with just sudo, you can run into problems. when you run "gksudo" it kicks off the graphical sudo prompt for a password.

Hope that helps.

Revision history for this message
Beau Bechdol (bbechdol) said :
#2

Yes use this command I just tested this.

gksudo gnome-commander

Sorry about before. I forgot to add "-" in the middle of the the command lol :)

Revision history for this message
bazsik (bazsikadam) said :
#3

Thanks for the help!
It works!

Revision history for this message
Beau Bechdol (bbechdol) said :
#4

No problem, glad it works :)