LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-03-2006, 07:05 PM   #1
nev
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 ?

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

Rep: Reputation: 59
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, 09:47 PM   #3
JimBass
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.

Peace,
JimBass
 
Old 07-03-2006, 10:41 PM   #4
zetabill
Member
 
Registered: Oct 2005
Location: Rhode Island, USA
Distribution: Slackware, Xubuntu
Posts: 348

Rep: Reputation: 31
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:
Code:
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, 04:36 AM   #5
nev
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, 05:10 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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.


Cheers,
Tink
 
Old 07-04-2006, 10:37 PM   #7
zetabill
Member
 
Registered: Oct 2005
Location: Rhode Island, USA
Distribution: Slackware, Xubuntu
Posts: 348

Rep: Reputation: 31
From ubuntuguide.org I confirmed from my above post that:
Code:
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-05-2006, 12:30 AM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
There are several threads that deal with this issue. One of them is http://www.linuxquestions.org/questi...d.php?t=452503 .
 
Old 07-05-2006, 02:15 AM   #9
IBall
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:
Code:
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
--Ian
 
  


Reply


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 04:20 PM
Ubuntu 6.06 - changed /etc/hostname and now sudo is not working. morrolan Linux - Newbie 3 06-01-2006 05:10 PM
Frustrated, with DVD ripping software in Ubuntu Ekkume Ubuntu 6 09-12-2005 07:33 PM
Ubuntu and sudo oldstinkyfish Linux - Security 1 03-03-2005 02:44 AM


All times are GMT -5. The time now is 12:46 AM.

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