Password not accepted Ubuntu 12.04

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

Password not accepted Ubuntu 12.04

Postby Cushie » Wed Jan 08, 2014 12:53 pm

I have had repeated problems trying to get Ubuntu to accept my password, which I know is correct.
Not the latest computer, Athlon 3.2 Gb 2 GB memory. 32 bit.

I bit the bullet and from LXF coverdisks tried a fresh install of 13.10 which failed to install, then 13.04 which also would not install so back to 12.04 coverdisk and installed that (probably keeping my original home partition.

Originally I had set automatic install but nevertheless was presented with the login screen but my password was not accepted. If I booted into recovery mode my same password was ok!
I then opted to boot as 'Guest' and with sudo accepting my password I reset my 'name' user to the original password, logged out but still can not log in.

I created a new user 'name1' using the same password and can get access every login ok.
I would like to solve mu original login problem out of interest sake.

If I cannot solve that, is it Ok to delete the original 'name' directory after I have transferred my home documents to the new user?
Your suggestions appreciated.
Regards.
Cushie
 
Posts: 40
Joined: Fri Nov 23, 2007 9:41 pm
Location: UK

Postby nelz » Wed Jan 08, 2014 1:02 pm

What is the exact error message you get? Are you sure it is a password error? From your description, this could also be caused by incorrect permissions/ownership on files used by your desktop, which are fixed with

Code: Select all
sudo chown -R username: ~username
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8545
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby Cushie » Wed Jan 08, 2014 5:46 pm

Thanks Nelz, I think you may have it, that was my suspicion.
the error is login password incorrect.

To use chown I can log in as root or admin on 'name1'
then, do I need to 'chown' when I am in that directory Home/name?

" sudo chown -R username: ~name "

I shall certainly try that.
Regards.
Cushie
 
Posts: 40
Joined: Fri Nov 23, 2007 9:41 pm
Location: UK

Postby nelz » Wed Jan 08, 2014 6:19 pm

~username is the home directory of that user, you don't need to give the explicit path - which may or may not be /home/username.[/quote]
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8545
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby Cushie » Thu Jan 09, 2014 7:00 pm

Thanks Nelz you hit it on the head!
At first I got 'username:' unrecognised, then I substituted my login 'name' for 'username' and eventually separated 'name' and ':' thus:-
" sudo chown -R name : ~name "
How does the space before ':' change the meaning?

Well I got the login accepted even though I messed up the desktop layout, but I can proceed therefrom, thanks a lot.
Regards.
Cushie
 
Posts: 40
Joined: Fri Nov 23, 2007 9:41 pm
Location: UK

Postby nelz » Thu Jan 09, 2014 8:53 pm

There shouldn't be a space between the username and the :
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8545
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby Cushie » Fri Jan 10, 2014 12:25 pm

Ok, thanks. Much appreciated.
Regards.
Cushie
 
Posts: 40
Joined: Fri Nov 23, 2007 9:41 pm
Location: UK


Return to Help!

Who is online

Users browsing this forum: No registered users and 2 guests

cron