Please don’t lecture me how this is not a good idea. The system is non critical with zero important data, I just need least effort to input and confirm password.

During install, Ubuntu 25.04 allowed me to type in 1 character long password, but I picked the wrong key that’s not as convenient as I thought.

I’ve tried changing password and GUI won’t allow me to do it and passwd complains about length and still makes it look like it changes it, but doesn’t really. So, how can I bloody do it without reinstalling the whole damn OS again because only installer isn’t complaining about it?

Thanks

    • RejZoR@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      I’ve mentioned I have already tried passwd. It complains over the length, in the end claims it was changed, but when I try authenticate something it says my new password isn’t correct and old one is still the active one. I don’t get it why installer can override it without any complaining, but anything after it’s impossible to do it, even through Terminal.

      • fuckwit_mcbumcrumble@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 days ago

        I gotta be honest, I think that’s a genuine bug. If passwd says it was changed, it should be changed. I tested on my 24.04 system and it worked correctly, I don’t have any 25.04 systems to test.

        You rebooted after changing it just in case right?

        • RejZoR@lemmy.mlOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          Yesterday I want to authenticate something and it suddenly complained the password is not correct. It has then changed it suddenly. I’ve done a system restart last time I did the password change. So bizarre. I’ve tried it twice and it didn’t change it, but then it just did it on its own later. How does that make any sense?!

  • nickwitha_k (he/him)@lemmy.sdf.org
    link
    fedilink
    arrow-up
    2
    ·
    2 days ago

    You could try sudo passwd username. If you’re using it as a remote system via ssh, I’d strongly recommend to use key-based with instead. It’s both easier and more secure.