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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
06-13-2005, 12:43 PM
|
#1
|
Member
Registered: May 2005
Location: Örebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92
Rep:
|
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 01:11 PM.
|
|
|
06-13-2005, 01:16 PM
|
#2
|
Member
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425
Rep:
|
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
|
|
|
06-13-2005, 01:18 PM
|
#3
|
Member
Registered: Mar 2004
Location: Indiana, US
Distribution: gentoo
Posts: 87
Rep:
|
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 01:22 PM.
|
|
|
06-13-2005, 01:20 PM
|
#4
|
Member
Registered: May 2005
Location: Örebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92
Original Poster
Rep:
|
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?
|
|
|
06-13-2005, 01:24 PM
|
#5
|
Member
Registered: Mar 2004
Location: Indiana, US
Distribution: gentoo
Posts: 87
Rep:
|
basically ubuntu makes it very hard to simply log into a console as root.
|
|
|
06-13-2005, 01:25 PM
|
#6
|
Member
Registered: May 2005
Location: Örebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92
Original Poster
Rep:
|
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 
|
|
|
06-13-2005, 01:37 PM
|
#7
|
Member
Registered: Jun 2005
Posts: 204
Rep:
|
to set the root passwood in Ubuntu open a terminal
#passwd root
that is it.
Regards
Richard
|
|
|
06-13-2005, 01:43 PM
|
#8
|
Member
Registered: May 2005
Location: Örebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92
Original Poster
Rep:
|
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
|
|
|
06-13-2005, 01:46 PM
|
#9
|
Member
Registered: Jun 2005
Posts: 204
Rep:
|
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
|
|
|
06-13-2005, 01:51 PM
|
#10
|
Member
Registered: May 2005
Location: Örebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92
Original Poster
Rep:
|
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...
|
|
|
06-13-2005, 01:58 PM
|
#11
|
Member
Registered: Jun 2005
Posts: 204
Rep:
|
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
|
|
|
06-13-2005, 01:59 PM
|
#12
|
Member
Registered: Jun 2005
Posts: 204
Rep:
|
oh... and don't use rpms  otherwise you have to convert them to .deb with alias
Regards
Richard
|
|
|
06-13-2005, 02:04 PM
|
#13
|
Member
Registered: May 2005
Location: Örebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92
Original Poster
Rep:
|
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 
|
|
|
06-13-2005, 02:11 PM
|
#14
|
Member
Registered: Jun 2005
Posts: 204
Rep:
|
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
|
|
|
06-13-2005, 02:16 PM
|
#15
|
Member
Registered: May 2005
Location: Örebro, Sweden
Distribution: Ubuntu 6.06
Posts: 92
Original Poster
Rep:
|
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"? 
|
|
|
All times are GMT -5. The time now is 07:23 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|