LinuxQuestions.org
Help answer threads with 0 replies.
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 06-13-2005, 01:43 PM   #1
Waerner
Member
 
Registered: May 2005
Location: Írebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92

Rep: Reputation: 15
Huh? Root-password in Ubuntu 5.04


Seems like I have a bit of a problem except the last one...
I was trying to install the latest ATI-drivers for my 9600 Atlantis GPU so I downloaded the drivers, and so far, so good.

But when I tried to run the setup from a terminal, it said I didn't had the access.
Well, I used my brain and choosed the "Root-Terminal" from the upper panel.
Everything seemed to be OK and linus@AMD64 had been changed to root@AMD64.

BUT, the problem with the access still remained. As far as I know, and which I'm pretty sure about, I wrote ONE password during the installation of the dist (Ubuntu 5.04 Hoary Hedgehog) when I could add user accounts. And that password does not match the "root" account. But as I said above, it looks like I can reach the root@AMD64-thing through the Root-terminal.

Perhaps there is no root-account in Ubuntu? Or the one I created with username and password during the installation is set as a root? Well, I don't know by myself, and I'm sure I didn't choose any root password by myself during the setup.

Thanks alot, I appreciate all help I can get...

//Linus Waerner

Last edited by Waerner; 06-13-2005 at 02:11 PM.
 
Old 06-13-2005, 02:16 PM   #2
securehack
Member
 
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425

Rep: Reputation: 30
Maybe it is:

toor (which I got off another LQ thread)
nopassward at all (usually the case)

root is only the password when or during install, not when it is installed. And there is always a root account.

--Abid Kazmi
 
Old 06-13-2005, 02:18 PM   #3
franzfranz
Member
 
Registered: Mar 2004
Location: Indiana, US
Distribution: gentoo
Posts: 87

Rep: Reputation: 15
from the ubuntu wiki :

Quote:
Ubuntu uses sudo to allow a normal user administrative privileges. Thus the traditional UNIX 'root' account is disabled (i.e. it is not possible to log in as root). All the graphical configuration utilities use sudo by default. Thus when Synaptic or something similar asks you for a password, it is asking for your password.

The first user created is part of the admin group, which can use sudo. Any users created after that is not by default. It is recommended that all users of Ubuntu use sudo, as it provides clear benefits to security.
to explain further:

to run commands simple put sudo in front of commands that will need root privileges.

Last edited by franzfranz; 06-13-2005 at 02:22 PM.
 
Old 06-13-2005, 02:20 PM   #4
Waerner
Member
 
Registered: May 2005
Location: Írebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92

Original Poster
Rep: Reputation: 15
I tried the no-pass alternative recently, without any success, but I'll try toor as soon as possible.
But if it's just like you said, there's ALWAYS a root account?
I've already made a search at Ubuntu's documentations for deafult passwords, without success, but I'll try your way

Is there any way to change it later on, from the console?
 
Old 06-13-2005, 02:24 PM   #5
franzfranz
Member
 
Registered: Mar 2004
Location: Indiana, US
Distribution: gentoo
Posts: 87

Rep: Reputation: 15
basically ubuntu makes it very hard to simply log into a console as root.
 
Old 06-13-2005, 02:25 PM   #6
Waerner
Member
 
Registered: May 2005
Location: Írebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by franzfranz
from the ubuntu wiki :



to explain further:

to run commands simple put sudo in front of commands that will need root privileges.

Thanks alot, that sounds like a solvation to me, I'll try that
 
Old 06-13-2005, 02:37 PM   #7
rkettle
Member
 
Registered: Jun 2005
Posts: 204

Rep: Reputation: 30
to set the root passwood in Ubuntu open a terminal

#passwd root

that is it.

Regards
Richard
 
Old 06-13-2005, 02:43 PM   #8
Waerner
Member
 
Registered: May 2005
Location: Írebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92

Original Poster
Rep: Reputation: 15
Question

Okay, the root-pwd change went just fine, then it's only the driver installation problem left.

root@AMD64:/home/linus/Program # ./fglrx64_6_8_0-8.14.13-1.x86_64.rpm
bash: ./fglrx64_6_8_0-8.14.13-1.x86_64.rpm: ┼tkomst nekas
root@AMD64:/home/linus/Program #

┼tkomst nekas = Access Denied in Swedish

So I tried to use "sudo" in the front of the command, and all that happened was that I could see all code, no execution of it...?

root@AMD64:/home/linus # sudo
usage: sudo -K | -L | -V | -h | -k | -l | -v
usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
{ -e file [...] | -i | -s | <command> }
root@AMD64:/home/linus #


I tried the -e parameter which looks most correct to me, but I guess I'm wrong? (As usual :P)

//
Greetings
 
Old 06-13-2005, 02:46 PM   #9
rkettle
Member
 
Registered: Jun 2005
Posts: 204

Rep: Reputation: 30
in Ubuntu you have a sudo account by default, so you do not need to run the sudo command. You have virtual root privs as is.

If you want to run as root, then

#su -

Regards
Richard
 
Old 06-13-2005, 02:51 PM   #10
Waerner
Member
 
Registered: May 2005
Location: Írebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92

Original Poster
Rep: Reputation: 15
root@AMD64:/home # cd linus/Program
root@AMD64:/home/linus/Program # ./fglrx64_6_8_0-8.14.13-1.x86_64.rpm
-su: ./fglrx64_6_8_0-8.14.13-1.x86_64.rpm: Permission denied
root@AMD64:/home/linus/Program #

I don't get it
I thought I only had to run the RPM-package from the GUI, but then File Roller starts, and I can extract it to different folders, followed by the error message that I can't extract the files there.

So that's why I tried the console...
 
Old 06-13-2005, 02:58 PM   #11
rkettle
Member
 
Registered: Jun 2005
Posts: 204

Rep: Reputation: 30
file-roller is not for rpms... it is for extracting compressed files.

with Ubuntu, you should just use apt-get... there are thousands of apps.

from a command line you use dpkg
 
Old 06-13-2005, 02:59 PM   #12
rkettle
Member
 
Registered: Jun 2005
Posts: 204

Rep: Reputation: 30
oh... and don't use rpms otherwise you have to convert them to .deb with alias

Regards
Richard
 
Old 06-13-2005, 03:04 PM   #13
Waerner
Member
 
Registered: May 2005
Location: Írebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92

Original Poster
Rep: Reputation: 15
Hey! I'm just a n00b! apt-get, .deb and stuff like that are chinese to me
And the drivers from ati.com are only shared as RPM as far as I can see.

And yes, File Roller is just for compressed files, that's why I think it shouldn't open it

So, If I've downloaded all files from ATI.com, what's next? None of them works as a want them to
The RPM won't extract itself, just appear in File Roller, and the ATI-script won't run, the terminal just shows me the code


I'm a loser
 
Old 06-13-2005, 03:11 PM   #14
rkettle
Member
 
Registered: Jun 2005
Posts: 204

Rep: Reputation: 30
I meant alien

to install software in Ubuntu just use the graphical tools. From a terminal you can download with apt-get from the internet or from your cd... example

#apt-get install firefox

you may need to update the database first

#apt-get update

Debian use .deb files. You can convert .rpm files to .deb using a programme called alien

open a terminal and type

#apt-get install alien

then cd to the folder with the ati rpm package in it and type

#alien -d nameofyourfile

then you can double click the file it creates to install it.

Good luck, gotta go now.

Regards
Richard
 
Old 06-13-2005, 03:16 PM   #15
Waerner
Member
 
Registered: May 2005
Location: Írebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92

Original Poster
Rep: Reputation: 15
So far so good,

It still open itself i File Roller, but now I can see two tar.gz-files (Control.tar.gz and Data.tar.gz) and one "Debian-Binary" instead. But no "autorun"?
 
  


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
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 11:28 PM
ubuntu, I can no longer become root or have root rights TroelsSmit Linux - Newbie 7 03-24-2007 08:17 PM
root password in ubuntu??? GEJOE DANIEL Ubuntu 7 10-01-2005 10:51 AM
How do I get my root password in Ubuntu? GameGuru Linux - Newbie 9 09-09-2005 11:46 AM
Logged in as root, prompted for root password ta0kira Slackware 13 04-25-2005 02:29 AM


All times are GMT -5. The time now is 10:58 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