login issue

Asked by curtm

New user to ubuntu, but fascinated, problem i have, thought i changed the password but apperently not, followed instructions to reset password, seemed to go okay and says password accepted at command line, but still will not let me log in, still says username or password incorrect, how do i reset the login name , I think this may be the problem, but i am a rookie at this, need good instructions

Help and thanks for any help

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Robert Di Gioia
Solved:
Last query:
Last reply:
Revision history for this message
Robert Di Gioia (digioiar) said :
#1

Hi

boot the system in recovery mode

to find your user name, type the following command

grep :100[0-9]: /etc/passwd

This will output all users with user ids from 1000-1009 inclusive. Typically, the first user id on an Ubuntu system is 1000. Your user name will be the character string before the first colon (not including the colon) on probably the only line that is output. If multiple lines are output, you should recognize one of them :)

To change the password, enter the following command

passwd username

Then reboot the system with the following command

shutdown -r now

good luck!

Revision history for this message
curtm (curtm) said :
#2

Robert, I appreciate your help, when it boots in recovery mode, it boots, it
asks me for a maintenence password, then i enter my password it goes to
Root@curts-laptop, i type in what you told me to and it says no such file
or directory. Should maybe not be in root@curts-laptop

Again, appreciate your patience, been a few years since playing with this
kinda stuff

----- Original Message -----
From: "Robert Di Gioia" <email address hidden>
To: <email address hidden>
Sent: Tuesday, January 08, 2008 9:48 PM
Subject: Re: [Question #21786]: login issue

> Your question #21786 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/21786
>
> Status: Open => Answered
>
> Robert Di Gioia proposed the following answer:
> Hi
>
> boot the system in recovery mode
>
> to find your user name, type the following command
>
> grep :100[0-9]: /etc/passwd
>
> This will output all users with user ids from 1000-1009 inclusive.
> Typically, the first user id on an Ubuntu system is 1000. Your user name
> will be the character string before the first colon (not including the
> colon) on probably the only line that is output. If multiple lines are
> output, you should recognize one of them :)
>
> To change the password, enter the following command
>
> passwd username
>
> Then reboot the system with the following command
>
> shutdown -r now
>
> good luck!
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/21786/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/21786
>
> You received this question notification because you are a direct
> subscriber of the question.
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.19.0/1216 - Release Date: 1/9/2008
> 10:16 AM
>
>

Revision history for this message
Robert Di Gioia (digioiar) said :
#3

Hmm...

I just booted into recovery mode to ensure that this should work, and it did on my system, so I'm not sure why it didn't on yours.

Is it possible that there was a typo? There should be a space between the final : and the first / and there should be no spaces after the first slash. passwd is also spelled without the o and r...

Hope this helps

Revision history for this message
curtm (curtm) said :
#4

Rob, Sorry to be a pain, Finally got in to the password and login prompt

This is what i get curt::x:1000:1000:Curt
Miller,,,:/home/curt:/bin/bash

I would assume my Login would Curt Miller,,, not sure where the ,,, came
from but i typed it anyways and tryed it with out it
                              Password would be curt

I have typed it in a 1000 different ways, it will not let me log in

Whats next
Sure am glad guys like you are here to help

Thanks again

----- Original Message -----
From: "Robert Di Gioia" <email address hidden>
To: <email address hidden>
Sent: Wednesday, January 09, 2008 10:11 PM
Subject: Re: [Question #21786]: login issue

> Your question #21786 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/21786
>
> Status: Open => Answered
>
> Robert Di Gioia proposed the following answer:
> Hmm...
>
> I just booted into recovery mode to ensure that this should work, and it
> did on my system, so I'm not sure why it didn't on yours.
>
> Is it possible that there was a typo? There should be a space between
> the final : and the first / and there should be no spaces after the
> first slash. passwd is also spelled without the o and r...
>
> Hope this helps
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/21786/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/21786
>
> You received this question notification because you are a direct
> subscriber of the question.
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.19.0/1218 - Release Date: 1/10/2008
> 1:32 PM
>
>

Revision history for this message
Neo (pudumula-gmail) said :
#5

i suggest u create a new usr account by typing 'useradd whatevername'
it will ask u for a passwd for this account
do not forget the root password
after loging through the new usr u can modify the ur system.

Revision history for this message
Best Robert Di Gioia (digioiar) said :
#6

Hi

Your user id is curt (with a lower case c).

to change the password on it, in recovery mode type the following command

passwd curt newpassword

good luck

Revision history for this message
curtm (curtm) said :
#7

Thanks Robert Di Gioia, that solved my question.