Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Password not accepted Ubuntu 12.04

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
Cushie



Joined: Fri Nov 23, 2007 9:41 pm
Posts: 39
Location: UK

PostPosted: Wed Jan 08, 2014 12:53 pm    Post subject: Password not accepted Ubuntu 12.04 Reply with quote

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.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Wed Jan 08, 2014 1:02 pm    Post subject: Reply with quote

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:
sudo chown -R username: ~username

_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
Cushie



Joined: Fri Nov 23, 2007 9:41 pm
Posts: 39
Location: UK

PostPosted: Wed Jan 08, 2014 5:46 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Wed Jan 08, 2014 6:19 pm    Post subject: Reply with quote

~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)
Back to top
View user's profile Send private message
Cushie



Joined: Fri Nov 23, 2007 9:41 pm
Posts: 39
Location: UK

PostPosted: Thu Jan 09, 2014 7:00 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Thu Jan 09, 2014 8:53 pm    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message
Cushie



Joined: Fri Nov 23, 2007 9:41 pm
Posts: 39
Location: UK

PostPosted: Fri Jan 10, 2014 12:25 pm    Post subject: Reply with quote

Ok, thanks. Much appreciated.
_________________
Regards.
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast