wont let me type anything for root password

Asked by Andrea

Hi there
I am trying to find adim password with no luck, when i go to " drop to root shell prompt " then it asks for root password for maintenance (which i do not know) it wont let me type anything in. Please can anyone HELP !

I bought laptop and was only given username and password, nothing else. I've have tried all sorts but there seems to be things missing. Don't know what to do.

Thank you

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu sudo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ian Ace (iaculallad) said :
#1

As I mentioned before, the characters you typed in the Terminal does not echo back to you from the screen. You can't see it when typing but trust me, it's there. All you have to do is type in the password and press the Enter key when your done. Just be sure to input the corrent password.

HTH.

Revision history for this message
Sam_ (and-sam) said :
#2

If you didn't setup a root account, use the username+passwd which was setup during installation.
https://help.ubuntu.com/community/RootSudo

Revision history for this message
Andrea (jackson3) said :
#3

Thanks, but still no luck. I don't know admin password. If anyone can shed any more light on the matter i would be grateful. Thanks

Revision history for this message
Ian Ace (iaculallad) said :
#4

You should access the root account by using your 1st user password (THIS is your PASSWORD), can you do the following commands on your Terminal:

sudo -i

Then input your own password. If possible, kindly paste the output on your next reply.

HTH.

Revision history for this message
Andrea (jackson3) said :
#5

Its just says yvonne is not in the sudoers file. This incident will be reported.

Yvonne was the person i bought the laptop from.

Revision history for this message
Andrea (jackson3) said :
#6

Don't know if this will help but when i get the Terminal up it reads:

Yvonne@rosee-laptop:$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

sudo -i

will give a root prompt. What are you trying to achieve exactly?

Revision history for this message
Ian Ace (iaculallad) said :
#8

Can you copy and paste here whatever outputs when you issue the command below from your Terminal:

awk -F":" '{ print "username: " $1 "\t\tuid:" $3 }' /etc/passwd

Revision history for this message
Andrea (jackson3) said :
#9

I am trying to find the password so i can perform administrative tasks.

Revision history for this message
Andrea (jackson3) said :
#10

>

Revision history for this message
Alexander Bejarano (alexbh) said :
#11

hi..
what happens is...
" yvonne is not in the sudoers file"
means that ivonne is a normal user and has no chance to do admin tasks...
u can start with a live CD/USB and change manually the "passwd" file ... or u can install again (i would do that if i were you so u can configure it urself) and put ur own user...

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#12

ok then hold shift at boot, select recovery mode, select root. You can now run:

usermod -a -G admin yvonne

Then run:

reboot

and you can now use sudo.

Can you help with this problem?

Provide an answer of your own, or ask Andrea for more information if necessary.

To post a message you must log in.