Ubuntu install password always fails


Recommended Posts

I've never had luck with installing ubuntu desktop or server without the user created during setup not working...

I always have to boot into grub go in manually and set the password..... why? what am I doing wrong? I see this at home, at work, everywhere, even the latest version of desktop I tried last night... did a clean install from USB the created user and password set up, reboot.... wont log in... password is wrong...

do the same thing in a VM with server.... same thing... password wont work...

Why no mater what password I pick does the initially created user always fail? I've been down the reddit rabbit hole of explanations but everyone ends on "the user wasn't made right"... I've seen this since ubuntu version 20? and we're on 24 now? and the same issue every darn time....

Why does this happen?

  On 18/08/2024 at 15:00, Nick H. said:

That's really weird...I can't say that I have ever seen that issue, and I've installed quite a few Linux systems, including Ubuntu.

What is your keyboard layout set to during setup and booting?

Expand  

just the standard US keyboard layout... I know I'm not alone in this, since I've seen a lot of others complaining about it....and I am seeing it on multiple physical and any VM I try to do

Sadly, I have seen this, too.

I think what it is doing is overwriting the password, like you said.

I haven't used Ubuntu for years, so wasn't sure if this is still a bug. Apparently so.

  On 18/08/2024 at 16:14, Mindovermaster said:

Sadly, I have seen this, too.

I think what it is doing is overwriting the password, like you said.

I haven't used Ubuntu for years, so wasn't sure if this is still a bug. Apparently so.

Expand  

How is this bug stull there 4yrs after I first saw it happen? I don't get it how does anyone install this without having to go nuts 

  On 18/08/2024 at 16:23, neufuse said:

How is this bug stull there 4yrs after I first saw it happen? I don't get it how does anyone install this without having to go nuts 

Expand  

IDK, sadly..

Does this only happen when you install it, or after?

  On 18/08/2024 at 16:33, Mindovermaster said:

IDK, sadly..

Does this only happen when you install it, or after?

Expand  

only with the initial user you have to create during the install, after that if you go in through grub get in as the root user and do the passwd reassign it works fine

I've been using Ubuntu for my servers since about 2019~ish, I've never seen this issue. Also been running Ubuntu VM's a lot longer than that and have never seen this either :/ could it be an install media issue or possibly the wrong layout selected?

  On 18/08/2024 at 18:21, Matthew S. said:

I've been using Ubuntu for my servers since about 2019~ish, I've never seen this issue. Also been running Ubuntu VM's a lot longer than that and have never seen this either :/ could it be an install media issue or possibly the wrong layout selected?

Expand  

I think this problem began 3 years ago. So your version (running LTS, maybe?) didn't have that problem. Maybe? IDK..

Ubuntu has gotten weird over the years..

  On 18/08/2024 at 18:21, Matthew S. said:

I've been using Ubuntu for my servers since about 2019~ish, I've never seen this issue. Also been running Ubuntu VM's a lot longer than that and have never seen this either :/ could it be an install media issue or possibly the wrong layout selected?

Expand  

this has happened with every version I've used since 20.x up to the current 24.x desktop or server if its a media issue, its persistent across many versions, and I always use the US keyboard layout when it asks

What confuses me is that you mention it is every install that you make. I could understand one install every now and again, but every install?

No one likes to hear it, but I am thinking it's a PEBKAC issue. But I don't see how it could be installation media - how you load it onto a USB - if you enter the same issue through a VM.

Can you do a screen record going through a VM? That would help a lot.

  On 18/08/2024 at 23:20, Nick H. said:

What confuses me is that you mention it is every install that you make. I could understand one install every now and again, but every install?

No one likes to hear it, but I am thinking it's a PEBKAC issue. But I don't see how it could be installation media - how you load it onto a USB - if you enter the same issue through a VM.

Can you do a screen record going through a VM? That would help a lot.

Expand  

I can, but it wont be tonight, but like I said there are a lot of people complaining about this issue I can find examples of it on reddit now back all the way to 2015 at least

 

ex: here's someone having the same issue back in version 15, sheesh this is going back far: https://superuser.com/questions/943222/unable-to-login-to-ubuntu-with-my-user-password-that-was-created-during-installa

  On 19/08/2024 at 02:42, Mindovermaster said:

Are these errors on one computer/server/VM? It might be an BIOS/UEFI setting. I'm not "sure" but hey, it could be anything..

Expand  

I'm seeing this on at least 5 different physical systems and 2 different VM environments (proxmox and ESX)

Do you by chance use the Numpad when entering the numbers in your password?

The only reason I ask is Microsoft forced a change where numlock was off by default on system start up...

  On 18/08/2024 at 16:34, neufuse said:

only with the initial user you have to create during the install, after that if you go in through grub get in as the root user and do the passwd reassign it works fine

Expand  

I know no one wants to hear this but in my 30+ years in IT the issue has almost always been the password one is entering is NOT the same as the one originally created. It's as simple as that. Write down the password you want down (destroy later) before typing it in on creation. Don't use any characters that require the shift/Caps lock key beyond the minimum required.  Use actual words as a 4-5 word phase is more than enough security. Be aware of the CAPS lock and NUM Lock key when typing a password.

I have installed Linux and Ubuntu way to many times in my years and created passwords for countless other accounts. Every time I had a message the username/password is wrong it's because I entered it in wrong.

Edited by Good Bot, Bad Bot
  On 21/08/2024 at 13:29, Good Bot, Bad Bot said:

I know no one wants to hear this but in my 30+ years in IT the issue has almost always been the password one is entering is NOT the same as the one originally created. It's as simple as that. Write down the password you want down (destroy later) before typing it in on creation. Don't use any characters that require the shift/Caps lock key beyond the minimum required.  Use actual words as a 4-5 word phase is more than enough security. Be aware of the CAPS lock and NUM Lock key when typing a password.

I have installed Linux and Ubuntu way to many times in my years and created passwords for countless other accounts. Every time I had a message the username/password is wrong it's because I entered it in wrong.

Expand  

except, in this case it's not the issue.

Doesn't mater what the password is, can even just be password, it always fails every single time when its the initial user creation only, can be 0123456789 still fails when it's the initial one created in the install, but if I go in via grub at boot and set the password manually using passwd to the same exact one it works fine..

I can even repo this in vm workstation by using paste text to make absolute sure it's the same password copied from a text file and same issue still.

We just had it happen today again making a server install, password was copied from a password manager and pasted in via VMWare workstation connected back to our ESX host during Ubuntu setup initial user creation, and the password failed after the 1st reboot happened....

It's not just me having this, it's multiple techs here are seeing the same problem.. and it's only with Ubuntu, other distros no issue

 

Edit: ok so it's not even a password issue on the server, the user we specified on the initial setup isn't even being made on the server install... when we go in as root and look at the user list, they aren't even listed 

Edited by neufuse
  On 21/08/2024 at 14:56, neufuse said:

except, in this case it's not the issue.

Doesn't mater what the password is, can even just be password, it always fails every single time when its the initial user creation only, can be 0123456789 still fails when it's the initial one created in the install, but if I go in via grub at boot and set the password manually using passwd to the same exact one it works fine..

I can even repo this in vm workstation by using paste text to make absolute sure it's the same password copied from a text file and same issue still.

We just had it happen today again making a server install, password was copied from a password manager and pasted in via VMWare workstation connected back to our ESX host during Ubuntu setup initial user creation, and the password failed after the 1st reboot happened....

It's not just me having this, it's multiple techs here are seeing the same problem.. and it's only with Ubuntu, other distros no issue

 

Edit: ok so it's not even a password issue on the server, the user we specified on the initial setup isn't even being made on the server install... when we go in as root and look at the user list, they aren't even listed 

Expand  

I read a number of Linux sites, forums, and subreddits every day and never have seen this issue mentioned. It would be blasted every where if the problem as you describe it was happening on every Ubuntu install. Right? Can you point to a news article on it? A bug report? I am not asking for a post by a random person.

I am doing a new Ubuntu desktop install sometime this weekend and I will let you know.

  On 21/08/2024 at 15:57, Good Bot, Bad Bot said:

I read a number of Linux sites, forums, and subreddits every day and never have seen this issue mentioned. It would be blasted every where if the problem as you describe it was happening on every Ubuntu install. Right? Can you point to a news article on it? A bug report? I am not asking for a post by a random person.

I am doing a new Ubuntu desktop install sometime this weekend and I will let you know.

Expand  

There's a bunch of posts about it on Ubuntu's own forums and a bunch on reddit also... and from what it looks like the failure to make the initial user is happening a good bit...

and you want something odder, tried this on an AMD Epyc server now, worked fine 😶 all my issues so far are on Intel hardware and Intel VM hosts

  On 21/08/2024 at 17:19, neufuse said:

and you want something odder, tried this on an AMD Epyc server now, worked fine 😶 all my issues so far are on Intel hardware and Intel VM hosts

Expand  

That does actually makes sense. Intel always had trouble with Linux. Wasn't anything big, but, still..

Can I ask you why you need Ubuntu? IMO (and ONLY my opinion) Debian seems to run better on servers.. Even older ones.

  On 21/08/2024 at 17:29, Mindovermaster said:

That does actually makes sense. Intel always had trouble with Linux. Wasn't anything big, but, still..

Can I ask you why you need Ubuntu? IMO (and ONLY my opinion) Debian seems to run better on servers.. Even older ones.

Expand  

no specific reason, we just used it a lot before, but I'm just curious on what is causing this issue really

  On 21/08/2024 at 18:49, neufuse said:

no specific reason, we just used it a lot before, but I'm just curious on what is causing this issue really

Expand  

Well, seeing that Debian does not do this to you, it seems like an easy alternative.

  On 21/08/2024 at 13:29, Good Bot, Bad Bot said:

I know no one wants to hear this but in my 30+ years in IT the issue has almost always been the password one is entering is NOT the same as the one originally created. It's as simple as that. Write down the password you want down (destroy later) before typing it in on creation. Don't use any characters that require the shift/Caps lock key beyond the minimum required.  Use actual words as a 4-5 word phase is more than enough security. Be aware of the CAPS lock and NUM Lock key when typing a password.

I have installed Linux and Ubuntu way to many times in my years and created passwords for countless other accounts. Every time I had a message the username/password is wrong it's because I entered it in wrong.

Expand  

Yep, it annoys me when people use the caps lock key to capitalize a single letter.

Secure or not, if I have to type a password instead of having a password manager do it, I first type the password in Notepad, then copy and paste it below what I typed to ensure it has no space at the end, and then paste it in the password / confirm password box. This way, I could see the password and know it was typed precisely how I expected. However, that doesn't work so well for entering the password during an Ubuntu setup.

The problem people have is when it won't show you what you are typing or what you have typed, and you successfully fat-finger a password twice.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Pro Tip: There is a wire connected to your radio that detects when the car in "Park". There is a way to modify it to make CarPlay think that the car is always in "Park". Perfect for watching movies on the go.
    • It is good that it can be removed. Those users who want it can use it, and those users who do not want it can remove it.
    • Yeah, but I can't blame people given the way things are nowadays with inflated prices that used to be reasonable not all that long ago. but I would not even attempt to offer someone $30 for a 8TB SSD (I know that was just a example of people trying to really low-ball someone though) as trying to undercut the normal-ish price a decent amount is one thing but that much I would not even attempt to offer someone on Ebay etc. but on the flip side... I think some people want more than stuff is worth at times and even when you offer them something reasonable they might take it as a insult etc. but usually these types tend to be a bit more unreasonable/unrealistic with their pricing. I get people don't want to give their stuff away, but at the same time some try to squeeze every last penny out of stuff to. there needs to be some sort of balance there as a guideline. but even when it comes to prices on random stuff... it can be difficult to determine what's roughly fair/reasonable as a happy medium where both sides feel like they did at least okay on the deal. but just off the top of my head buying expensive used stuff, especially stuff that might be more prone to failure (instead of being quite unlikely to fail), I might try to dodge or want a cheaper than usual price to even risk it etc. but I guess I could probably speak for many when it comes to a gaming PC in that a person wants the cheapest possible price for something that's good enough as this tends to be roughly the sweet-spot of $ spent vs real world performance where it really matters. because it's generally not worth paying hundreds extra or more for something that's not significantly better than a more reasonably priced gaming PC that tends to be good enough as I figure once you get a setup that can do roughly 1080p @ 60fps with high enough graphics (or in this ball park either way), the gains past that tend not to be worth spending hundreds of dollars more when that money could be saved and ones current computer (the one that does 1080p @ 60fps with high enough graphics etc) will easily last years (probably 3-5 years for a conservative figure) before they genuinely need a upgrade and the saved hundreds of dollars could be put towards another build at some point in the future. I never understood people who want to build a "better PC" when their current one is still clearly on the faster side of things and still runs pretty much everything more than well enough as you are pretty much just wasting money for something that's not that much better for the vast majority of tasks. like as a ball park when it comes to GPU's, to use NVIDIA as a example... right now I suspect a solid Geforce 20 series GPU is no where near needing a true upgrade as I would say more worthwhile upgrades are more seriously worth considering for people on the Geforce 10 series or older GPU's at the moment as I would probably use that as where the line is roughly drawn if you have to split stuff up into 'current enough' vs 'older' standards (even though I realize say a strong Geforce 10 GPU is still more than solid enough for many). basically, short of a few specialized use situations etc, most people don't need anywhere near high end PC's, even from a gaming perspective since 30fps being playable and 60fps is pretty much perfect have been standards around for decades now as these are the ones that truly matter the most from a general real world gaming perspective. the 120fps+, while might help a bit, is still largely excess luxury in that it's just not worth the extra money unless prices are fairly close as if you got to pay hundreds of dollars more for it, overall most people are better off with the 'slower' setup. p.s. hell, I am still on a i5-3550 CPU (which is 2012 CPU tech) with a NVIDIA 1050 Ti 4GB (which is 2016 GPU tech) and while if I upgraded today I would get a worthwhile difference, but in all honesty the main reason I hold off, besides prices nowadays being a bit inflated, is what games I do play tend to work anywhere from playable (30fps) to perfect-ish (60fps) and I am of the mindset I have a feeling my current GPU etc is more reliable than modern GPU's etc which is another reason I am in no rush to upgrade. I suspect ill eventually be forced into upgrading, but baring major hardware failure out of no where, ill likely be on my current setup for years to come at a minimum. say the rest of this decade, possibly further, especially given while I might play a recent-ish game (say in the current decade or so) here and there I am usually replaying games that stand the test of time from the past etc.
    • I have only two Play Anywhere titles from all games I own, and Game Pass doesn't include DLCs. I know it's shocking, but I like to buy premium editions of games I've really liked on Game Pass. I have Ultimate and I've already checked what I can play on PC when I upgraded my laptop to a new one with Nvidia 4070 half a year ago - not much so I haven't even bothered.
  • Recent Achievements

    • One Month Later
      POR2GAL4EVER earned a badge
      One Month Later
    • One Year In
      Orpheus13 earned a badge
      One Year In
    • One Month Later
      Orpheus13 earned a badge
      One Month Later
    • Week One Done
      Orpheus13 earned a badge
      Week One Done
    • Week One Done
      serfegyed earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      534
    2. 2
      ATLien_0
      254
    3. 3
      +FloatingFatMan
      183
    4. 4
      +Edouard
      166
    5. 5
      Xenon
      122
  • Tell a friend

    Love Neowin? Tell a friend!