Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-03-2006, 06:05 PM   #1
LQ Newbie
Registered: Apr 2006
Posts: 7

Rep: Reputation: 0
Frustrated with Ubuntu Sudo

Hi All.
I swapped over from FC5 to Ubuntu 5 and then recently upgraded to Ubuntu 6.

Thing is, although the Sudo shell is supposed to provide a fool proof way for new users to get to know Linux it can also really frustrate me.

What I would like to do is to learn things my own way through the traditional Graphical Root / User and Terminal Root / User.

The problem is, when I enable login for the graphical root, a lot of the useful administration tools are missing from the System > Administration submenu.

How can I get these tools back ???

The tool Alacarte Menu Editor claims that I should able to see and use them, and their equivalent commands do work from the terminal. Thing is they just arn't in the menu and it's very frustrating, can anyone help ?

Old 07-03-2006, 07:58 PM   #2
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 60
I think Ubuntu/Kbuntu is geared towards people who like it when someone dictates how the desktop should look and act.
That is not me.
Old 07-03-2006, 08:47 PM   #3
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
You also shouldn't run Xwindows (bundle term for gnome, kde, basically anything with non-ascii art) as root, ever. That isn't the traditional way to do things. If you need root access, then google for adding a root user to ubuntu, it has been posted several places, including here. All root functions can be done easily through the konsole/terminal text only thingie.

Old 07-03-2006, 09:41 PM   #4
Registered: Oct 2005
Location: Rhode Island, USA
Distribution: Slackware, Xubuntu
Posts: 348

Rep: Reputation: 32
It's been quite some time since I've used Ubuntu, but I can vaguely remember that the very first thing I did was enable the root account. From what I understand, the root user is there but it is disabled. If my memory serves me correctly you would need to get to a console and do:
sudo passwd root
and then enter the password for root. Otherwise the answer you're looking for is most certainly on the ubuntu website...

Good luck!
Old 07-04-2006, 03:36 AM   #5
LQ Newbie
Registered: Apr 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Yeah, it's really frustrating as some of my work was saved in previous distros within root owned folders. It's painstatking fumbling around trying to get permissions to work as expected.

As a relatively new user, unless I have enough time to read 'the internet', then root is sometimes the only way to get things done without loosing my patience.

Pain in the grass.
Old 07-04-2006, 04:10 AM   #6
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
sudo su -c "cp -r /root /tmp && chown -R user:group /tmp/root"

Piece of piss. No gooey required. And betcha that typing & running
that from a terminal is faster than trying to achieve the same result
using a Gooey tool, too.

Old 07-04-2006, 09:37 PM   #7
Registered: Oct 2005
Location: Rhode Island, USA
Distribution: Slackware, Xubuntu
Posts: 348

Rep: Reputation: 32
From I confirmed from my above post that:
sudo passwd root
is the way to enable the root account. Then you'll be able to use it as you would with any other distro.
Old 07-04-2006, 11:30 PM   #8
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
There are several threads that deal with this issue. One of them is .
Old 07-05-2006, 01:15 AM   #9
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
An alternative to enabling root logins is to use the -s option to sudo:
sudo -s
which will prompt you for your password, and give you a shell with root access.

This way, you don't need to enable root login (which broke a few things on Breezy), but can get a root shell so you don't need to prefix every command with sudo.

I hope this helps


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Restricting Editing in Sudo (Advanced Sudo Question) LinuxGeek Linux - Software 4 11-04-2006 03:20 PM
Ubuntu 6.06 - changed /etc/hostname and now sudo is not working. morrolan Linux - Newbie 3 06-01-2006 04:10 PM
Frustrated, with DVD ripping software in Ubuntu Ekkume Ubuntu 6 09-12-2005 06:33 PM
Ubuntu and sudo oldstinkyfish Linux - Security 1 03-03-2005 01:44 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration