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 |
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 |
from the ubuntu wiki :
Quote:
to run commands simple put sudo in front of commands that will need root privileges. |
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? |
basically ubuntu makes it very hard to simply log into a console as root.
|
Quote:
Thanks alot, that sounds like a solvation to me, I'll try that :) |
to set the root passwood in Ubuntu open a terminal
#passwd root that is it. Regards Richard |
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...? :confused: 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 |
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 |
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 :confused: :confused: :confused: 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... |
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 |
oh... and don't use rpms ;) otherwise you have to convert them to .deb with alias
Regards Richard |
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 :rolleyes: 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 :cry: |
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 |
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 05:48 AM. |