root under ubuntu?!?

The_Bob

Weaksauce
Joined
Feb 5, 2005
Messages
122
Im trying to install limewire on my new ubuntu install and when I go to convert the rpm int a deb package it tells me I need to sign in as root.

bob@ubuntu:~$ alien LimeWireLinux.rpm
Must run as root to convert to deb format (or you may use fakeroot).

but ubuntu never has you set up a root password and when I try to use mine Its wrong.

bob@ubuntu:~$ su root
Password:
su: Authentication failure
Sorry.

How do I set up a root password or do whatever it is I need to do to fix this?
 
If you do not know your password, you can reset it by starting your system in single-user mode, or with a boot CD (by chroot-ing).

I would recomment the boot CD. Just boot off a bootable linux CD, mount your system partitions and proc, and then chroot into your real system as root, and use "passwd" to reset the root password.

I'll see if I can find a page with good step-by-step instructions for you. I know the gentoo handbook covers much of this..
 
Under Ubuntu, root isn't really an accessable account. Everything is done through sudo. If you want to run a single command, you just do a "sudo comand" and then give it your password. If you're going to be performing an extended series of commands that require admin privs, you can use sudo to fire up a new shell (sudo bash) and you'll have root privs until you close out the shell.
 
ok thanksgot it converted now how the heck do I install it. I've only done this with KDE.
 
Audiochris said:
you can also run: passwd root

that will let you set up a password for root.

not really, since that will try to run "passwd" as a neromal user, but it will try to change the passwd of another user (in this case ROOT), and passwd will bomb out with auth error

IF you want to set the root passwd run:

Code:
sudo passwd

that will set the root passwd


I always thought that was a major security oversight with Ubuntu
 
Back
Top