Results 1 to 10 of 12
Hi all (again),..
I have another problem. I am running ubuntu linux on my laptop and hence, I am the sole user of it (hence, I am the administrator). I ...
- 01-04-2007 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 2
'su' gain root access in linux
Hi all (again),..
I have another problem. I am running ubuntu linux on my laptop and hence, I am the sole user of it (hence, I am the administrator). I assume that because I am the sole user of the OS, that I automatically have root access. However, I wanted to install 'ndiswrapper' to get my wireless card in my laptop working in ubuntu. I was following a guide to installing it and it read that it is important to get root access to install it. However, when i issues the command 'su', i was prompted for my password. I entered the password but I got a message saying 'su: authentication failed - sorry'. Does anyone know why this is? I use the same password for almost everything, so my password could not be wrong.
Is there a (command) or a way to find out if you actually have root access?
Thanks to you all in advance for taking the time to read/reply to my query.
Thank you.
Daniel.
- 01-04-2007 #2
when you have root access, you should read something like this:
root@chitty-desktop:/home/chitty#
instead of:
chitty@chitty-desktop:~$
Remember that your root password is not necessarily the same as your user password
- 01-04-2007 #3
In ubuntu, you normally use sudo:
Code:someone@ubuntu $ sudo make install
Flies of a particular kind, i.e. time-flies, are fond of an arrow.
Registered Linux User #408794
- 01-04-2007 #4
root password is set during installation, so bad if you forgot it
Karabakh - I will be back
- 01-04-2007 #5You dont have root password on Ubuntu. You use sudoroot password is set during installation, so bad if you forgot itPut your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums
- 01-04-2007 #6
Or maybe you haven't set the password for root... "As default Ubuntu has no password set for the root user..." http://www.ubuntux.org/how-to-change...word-in-ubuntu
- 01-05-2007 #7Just Joined!
- Join Date
- Jul 2006
- Posts
- 3
On Ubuntu it's sudo su instead of just su.
But you can of course use sudo for all commands...
Greetz,
Eddy
- 01-05-2007 #8Linux User
- Join Date
- Jan 2007
- Location
- cleveland
- Posts
- 452
if you wish to have a root user, try:
sudo adduser root
- 01-05-2007 #9What the hell are you on about? Root is a user on all systems! It doesn't have a set password on *buntu is the reason you can't use it!
Originally Posted by tpl
If you just want root for the console, use sudo -i but if you need to set a password use "sudo passwd root" then enter your existing password, then the new password, then confirm the new password.
- 01-05-2007 #10??? but if you do sudo, it executes command from root username. In Ubuntu you have root, but by default password is not set for it.
Originally Posted by Juan Pablo Karabakh - I will be back


Reply With Quote