So i just installed ubuntu....

magomago

Lifer
Sep 28, 2002
10,973
14
76
what is it?!?! lol...I need to do some stuff as root...but i've tried inputting my current password, nothing...i've tried inputting nothing...nothing...i've tried using root as the password, nothing

How do i su?
 

magomago

Lifer
Sep 28, 2002
10,973
14
76
sudo as a password doesn't work...

I tired inputting sudo into the command line and this is what i got:

amarry@cv077078:~$ sudo
usage: sudo -K | -L | -V | -h | -k | -l | -v
usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
{ -e file [...] | -i | -s | <command> }
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: magomago
sudo as a password doesn't work...

I tired inputting sudo into the command line and this is what i got:

amarry@cv077078:~$ sudo
usage: sudo -K | -L | -V | -h | -k | -l | -v
usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
{ -e file [...] | -i | -s | <command> }

It isn't a password, it's a program. Read the manpage, forget about the root password.
 

magomago

Lifer
Sep 28, 2002
10,973
14
76
mmm reading it i see what it is about...the only problem: doesn't work. Itryh inputting my current password and it doesn't work....
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: magomago
mmm reading it i see what it is about...the only problem: doesn't work. Itryh inputting my current password and it doesn't work....

So if you sudo command, it prompts you for your password? You enter that password and it doesn't work?

If that's true, then something is broken.
 

magomago

Lifer
Sep 28, 2002
10,973
14
76
all it did was spit out the same stuff at just typoing sudo


but i just reburned and reinstalled ubuntu and its finally working like a charm :D

guess it was a bad CD...circuit city cheap 50 pack ;)
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: magomago
all it did was spit out the same stuff at just typoing sudo


but i just reburned and reinstalled ubuntu and its finally working like a charm :D

guess it was a bad CD...circuit city cheap 50 pack ;)

If it outputted the usage stuff, you probably fat fingered something. I do it all the time. :p
 

magomago

Lifer
Sep 28, 2002
10,973
14
76
just for kicks i reinstalled that other CD and yup...sudo didn't work again ;)

then again the first cd i force burned it 48X....the second time around i did a regular 40X burn ;)
 

bersl2

Golden Member
Aug 2, 2004
1,617
0
0
Something doesn't sound right about this.

If it were a burn error in sudo, you would probably be getting segfaults. If it were a burn error in sudoers, you would be getting authentication errors. You have to be typing something in wrong; the probabilities are just infinitesimal.
 

pitupepito2000

Golden Member
Aug 2, 2002
1,181
0
0
Originally posted by: n0cmonkey
Originally posted by: magomago
sudo as a password doesn't work...

I tired inputting sudo into the command line and this is what i got:

amarry@cv077078:~$ sudo
usage: sudo -K | -L | -V | -h | -k | -l | -v
usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
{ -e file [...] | -i | -s | <command> }

It isn't a password, it's a program. Read the manpage, forget about the root password.

From your comment it seems as though you are a sudo fan. why?

What's the advantage of having sudo? I personally find it annoying having to type in a password all the time I want a command.

The last time I did an Ubuntu install 2 weeks ago, one of the first things that I learned is how to set a password for the root account, so I didn't have to use sudo.

 

bersl2

Golden Member
Aug 2, 2004
1,617
0
0
Originally posted by: pitupepito2000
Originally posted by: n0cmonkey
Originally posted by: magomago
sudo as a password doesn't work...

I tired inputting sudo into the command line and this is what i got:

amarry@cv077078:~$ sudo
usage: sudo -K | -L | -V | -h | -k | -l | -v
usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
{ -e file [...] | -i | -s | <command> }

It isn't a password, it's a program. Read the manpage, forget about the root password.

From your comment it seems as though you are a sudo fan. why?

What's the advantage of having sudo? I personally find it annoying having to type in a password all the time I want a command.

The last time I did an Ubuntu install 2 weeks ago, one of the first things that I learned is how to set a password for the root account, so I didn't have to use sudo.

Everybody should be a sudo fan.

If you don't understand why some operations need to be password-protected, you obviously haven't screwed up your quota of systems by being root. It makes you think about what you're doing. Mind you, sudo will store your password for a certain timeout period for convenience (5 mins. by default), after which it will require it again. You can also configure sudo to work without a password, but this is a security disaster waiting to happen.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: pitupepito2000
Originally posted by: n0cmonkey
Originally posted by: magomago
sudo as a password doesn't work...

I tired inputting sudo into the command line and this is what i got:

amarry@cv077078:~$ sudo
usage: sudo -K | -L | -V | -h | -k | -l | -v
usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
{ -e file [...] | -i | -s | <command> }

It isn't a password, it's a program. Read the manpage, forget about the root password.

From your comment it seems as though you are a sudo fan. why?

What's the advantage of having sudo? I personally find it annoying having to type in a password all the time I want a command.

The last time I did an Ubuntu install 2 weeks ago, one of the first things that I learned is how to set a password for the root account, so I didn't have to use sudo.

Because most people don't need to use root for long periods of time. 99% of the time I'm doing something I need root privs for, it's small. I can do it in one or two commands.

If you're getting annoyed with the password, turn it off. I don't use it. It's a security risk, but I'm lazy. :p

Also, if you're getting annoyed, find out why you're having to use root privs so much and fix it.
 

skreet

Senior member
Sep 7, 2004
681
0
0
Did you read the install screens? They explain how there is no useable root account, to speak of. It's disabled. Like in XP home :D
 

sykopath79

Senior member
Nov 2, 2000
458
0
0
I don't think anyone above has mentioned this yet, so I will chime in and be helpful. I had the same frustration when I installed Ubuntu on my iBook.

Just do "sudo passwd root" (without the quotes) and it will prompt you to create a root password. Problem solved easy.