LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-17-2018, 08:35 AM   #1
billwh2016
LQ Newbie
 
Registered: Mar 2016
Posts: 8

Rep: Reputation: Disabled
Question Desk top does not recognize pass work after upgrading to 17.10


After upgrading to 17.10,from 16.04 my computer would not except my password. In order to use my computer I had to reload live cd for 15.10 to be able to use my computer again. My question is how can I upgrade to 17.10 and be able to log in without being told my pass word is not listed.
 
Old 01-17-2018, 09:25 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
For a start, you haven't told us what distribution you are using. The site seems to think it's Ubuntu. Is that correct?

You also haven't said how you actually did the upgrade. Did you reinstall from a 17.10 image on a CD or did you upgrade via your package manager?

At a guess I would say that your /etc/passwd file somehow got overwritten. Boot from a live CD and check the file. Has it got your login name in it? If not, you'll need to edit it in. We can show you how to do that; it isn't complicated.
 
1 members found this post helpful.
Old 01-17-2018, 03:33 PM   #3
billwh2016
LQ Newbie
 
Registered: Mar 2016
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hazel I am using ubuntu 16.04. I got an upgrade notification informing me that my 16.04 will no-longer be supported and I should upgrade to 17.10. All went well until I tried to login, the computer would tell me my password is not listed. After several attempts with no success I decided to input an old password I haven't used in years. The response came back in red input error.
So it seem the system recognize my password, but for some reason it will not except it.
Any help you can provide will be greatly appreciated.
Bill
 
Old 01-17-2018, 11:52 PM   #4
Dave Lerner
Member
 
Registered: May 2005
Location: Florida, USA
Distribution: Pop_OS, Xubuntu
Posts: 152

Rep: Reputation: 44
Quote:
Originally Posted by billwh2016 View Post
... I got an upgrade notification informing me that my 16.04 will no-longer be supported and I should upgrade to 17.10. ...
Ubuntu 16.04 is an LTS (long-term support) release, and will be supported for five years, until April 2021.
Ubuntu 17.10 is a standard release, and will only be supported for nine months, until July 2018.
https://www.ubuntu.com/info/release-end-of-life
https://wiki.ubuntu.com/Releases

Last edited by Dave Lerner; 01-18-2018 at 10:18 AM.
 
1 members found this post helpful.
Old 01-18-2018, 06:27 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Quote:
Originally Posted by billwh2016 View Post
Hazel I am using ubuntu 16.04. I got an upgrade notification informing me that my 16.04 will no-longer be supported and I should upgrade to 17.10.
Yes, but how did you actually do the update? And have you looked at /etc/passwd to see if your username is still in there?

When people answer a request for help by asking for specific information about the problem, it's your job to give them that information. Otherwise we'll all just be going round in circles.
 
Old 01-18-2018, 01:57 PM   #6
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
I just re-installed Debian testing from DVD1. I allowed a root account and input the desired password. After installation upon first boot I was unable to do much because root password was not accepted and sudo was not installed, so I could not do much. I put the DVD back in and booted it into rescue mode, after a while selected the partition of the new installation and I was presented with options, one of which is to open a shell within the root partition selected.

This puts me in a chroot, I then typed:
Code:
chpasswd root
Then entered the same password, again to confirm, then exited, reboot the OS and the password now worked.


If your buntu disk has rescue mode, it may offer to put you in a chroot like Debian does, if not, you will need to chroot manually to re-input the desired password. Basic steps for chroot in the code box below.
Code:
mount /dev/xxxx /mnt
mount --bind /dev /mnt/dev 
mount --bind /dev/pts /mnt/dev/pts
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
chroot /mnt
"do what you want to do"
exit
umount /mnt/sys
umount /mnt/proc
umount /mnt/dev/pts
umount /mnt/dev
umount /mnt
There is a reason for rescue or recovery options of installation media, this is one that is simple to fix using install or live media, it don't necessarily have to be same version as the OS installed.
EDIT: You will need to put your user name as such: sudo chpasswd user

Last edited by Brains; 01-18-2018 at 02:14 PM. Reason: chpasswd worked, passwd should also work for single user
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Desk top not loading CaptainPugwash Linux - Laptop and Netbook 13 07-27-2012 01:09 PM
record my desk top archie101 Linux - Newbie 3 05-02-2011 07:20 PM
Lost Desk top sellewe Ubuntu 12 01-22-2010 10:00 AM
Desk Top Panels tommytomato Ubuntu 2 10-26-2008 08:26 PM
Help with Desk top _me_ Linux - General 1 04-17-2004 10:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration