PDA

View Full Version : [ubuntu] [SOLVED] root user privileges



ghostier
June 8th, 2008, 04:15 PM
Hi, I'm new to ubuntu. The problem I'm having is that a lot of the times when I try to do something, I can't because of insufficient privileges. I would have to use the terminal in order to get it done. This is frustrating because I would rather use the GUI instead. Is there anyway of my user account having root privileges?

Joeb454
June 8th, 2008, 04:26 PM
It does have root privileges. If you want to run nautilus as root for example, hit Alt+F2 and type (or copy/paste)
gksudo nautilus Hope this helps :)

The Cosmic Hobo
June 8th, 2008, 05:01 PM
Joeb454 is right. Ubuntu doesn't let you be root for safety and security reasons. I've not used Ubuntu much so I can't tell you about the gksudo command, but you can also use the sudo command for single tasks (eg sudo apt-get install) on the command line, which in any single shell session will prompt you for the admin password once.

I suspect gksudo might be more what you need - sounds like it gives root privs to Nautilus, which would let you do what you want in the GUI rather than in the shell.

omi291
June 8th, 2008, 05:10 PM
You can check out this site for some more information if you want:

https://help.ubuntu.com/community/RootSudo

meindian523
June 8th, 2008, 05:11 PM
gksudo is graphical sudo.It's better used with graphical apps.Look here for why:
http://psychocats.net/ubuntu/graphicalsudo

bruce89
June 8th, 2008, 05:26 PM
Be aware that removing files in Nautilus doesn't actually delete them, it just moves them to the root user's "bin".

Why do you need to poke about with non-home files?

ghostier
June 8th, 2008, 05:40 PM
To install new skins for some apps. Also, I wanted to put the java runtime folder in that place instead of desktop.

Thanks alot. gksudo's great.

bruce89
June 8th, 2008, 05:55 PM
To install new skins for some apps. Also, I wanted to put the java runtime folder in that place instead of desktop.

Thanks alot. gksudo's great.

Adding / removing files outside your home directory is a bad idea.

You ought to install java the proper way through some kind of package manager. apt:openjdk-6-jre will do it.

What do you mean by skins, and for which programs?