Unrecognized password with xubuntu

Solved
patard Posted messages 258 Status Member -  
patard Posted messages 258 Status Member -
Hello, or rather good evening

a few months ago I did an update after which my password was no longer recognized.

It appeared that at the top of the US screen, typing the password on a QWERTY keyboard worked.

For the past few days a new update has been offered. The password typed in AZERTY or QWERTY is rejected as incorrect.

I tried to switch to root mode to change the password, but when I click enter after root, at the bottom of the screen it displays root@XXXXX, the Xs corresponding to the password I have in memory.

I would really like to be able to do the updates,

Thank you for your help

Bernard

Configuration: Linux / Firefox 33.0

11 answers

  1. onegame93 Posted messages 78 Status Member 3
     
    My question is the following: Are you able to log in as root (super-user)?

    If yes, the problem is that you need to set your keyboard to French, so here is the command I always use to set my keyboard to English (us) or French (fr)



    Change your keyboard language and we'll see what comes next.
    1
  2. zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   6 501
     
    Hi,
    at the bottom of the screen, root@XXXXX is displayed, with the Xs corresponding to the password I have in memory.
    Um... no, the XXXX after the @ usually corresponds to your machine's name.

    I believe you've made a mistake during installation between the password and the machine name; -\

    --
    ☮ Zen my nuggets ☯
    Do something for the environment, close your windows and adopt a penguin. <('')
    0
  3. patard Posted messages 258 Status Member 8
     
    OK, thanks

    so there would be the name of the machine, the computer password, and the user password.
    I think I set the same word for all three during the installation, so I wouldn't make a mistake later.

    To get out of this, would I need to type passwdyyyyy after root@XXXX, with yyyyy being my new password? (I think I'll use XXXXX again)

    Is my interpretation correct?

    What is surprising is that to open my computer, I have to type XXXX as if I were in qwerty, which writes root@XXXX completely normally, but to type passwd I need to do it with the qwerty keys

    Thank you for everyone's insights

    Bernard
    0
    1. zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   6 501
       
      There would therefore be the name of the machine, the computer password, and the user password.
      Generally, during installation, you need to provide the machine name, then depending on the distributions, a username + password (username + password that serves as administrator on Ubuntu-based distributions), and finally a password for the administrator "root" on most other distributions.
      To get me out of this, I would therefore need to type passwdyyyyy after root@XXXX
      In fact, you need to specify the account for which you want to change the password. If you type it as is, you will change the password for the root account:
      passwd account_name_to_change
      then you will be prompted to enter (twice) the new password.

      Check before that if your keyboard is set to azerty.
      0
    2. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 940
       
      Some small clarifications on what zipe31 indicated:

      - A user (let's say "toto") can only change their own password. Therefore, it is not necessary to specify the login. These two commands are equivalent when logged in as "toto" (they are executed in a terminal):
      http://doc.ubuntu-fr.org/terminal

      passwd
      passwd toto


      - There is an "administrator" profile in Linux called "root". In Ubuntu, it is not enabled by default (meaning: you cannot log in as root). That said, it does exist.
      http://doc.ubuntu-fr.org/root

      Root can update the password of anyone (themselves, toto, etc.). If you simply run
      passwd
      while logged in as root, it will change the root password. If you want to change toto's password, you will then run
      passwd toto
      .

      Note that root does not need to know toto's current password, nor even comply with the security rules of a "good" password (presence of lowercase letters, uppercase letters, numbers, and special characters, without relying on a word from the dictionary).

      In Ubuntu, you can "pretend" to be root if your profile is "sudoer," which is the case for the user created during installation. Thus, if toto is a sudoer and wants to change titi's password, they will run
      sudo passwd titi
      .

      Finally, it is important: you MUST NOT choose a password that is your login or that is written plainly somewhere (like on a post-it, in a plain text file on the hard drive). Therefore, it is not a good idea to use the same password for the login, the hostname, and the password.

      Good luck.
      0
  4. patard Posted messages 258 Status Member 8
     
    Thank you both, I will take a serious look at this, it will take time to go through all the points of mamiemando unfortunately, I’m busy tonight.

    As for Zip31, my keyboard is in QWERTY, but you just need to have a layout of this keyboard and type 'q' instead of 'a', 'm' instead of 'l', etc. and you can manage (I realize this while typing 'passwd' after 'root')

    See you soon

    Bernard
    0
  5. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 940
     
    1) Make sure you are typing what you think

    The remark from onegame93 is good.

    If anything, you may not be able to log in because you're not typing what you think (typically when you think you are typing in azerty while actually typing in qwerty as he suggests).

    Also check that it’s not a matter of caps lock or num lock. You can easily check by typing the beginning of your password in the area where you enter your login.

    However, since the root profile is not enabled by default, you probably won’t be able to do what he suggests, at least not directly.

    2) Check that it’s not a matter of disk space

    This is a very credible explanation, especially following an update. If you have no disk space, your graphical mode cannot create a number of temporary files necessary for its launch.

    You can easily check if you can log in in text mode:
    https://www.mistra.fr/tutoriel-linux-mode-texte.html

    If you can, then type the command
    df -h
    . If you find that some linux partitions are 100% full, we have found the cause (or one of the causes) of the problem.

    A simple way to free up space is to clear the apt cache (which will allow you to free up disk space on the partition hosting
    /var/cache/apt
    , probably the
    /
    partition in your case):

    sudo apt-get clean


    Good luck.
    0
  6. patard Posted messages 258 Status Member 8
     
    Good evening everyone and thank you for your insights.

    I will try to be clear

    Following a previous update, I could no longer connect as the user password was denied.

    At the top of the screen, I noticed "us," so I tried typing this password as if the keyboard was QWERTY.
    So for example, instead of typing Francoise on the AZERTY keyboard of the computer, by typing Frqncoise, it works.

    More recently, the computer prompted for an update for a new version of Ubuntu.

    The password was refused, both the user password and the administrator password. Attempts using the same technique were completely unsuccessful.

    Onegame's suggestion was unsuccessful.

    After starting the computer and pressing Esc, we arrive at
    Ubuntu
    Advanced options for Ubuntu
    Memory test.....
    Memory test....

    By selecting Advanced options for Ubuntu with the arrow keys and pressing Enter, we get to
    Ubuntu with Linux
    3 16.0-24 generic recovery mode

    By selecting it and pressing Enter, we have a new screen with
    re....
    clean
    Dpkg
    .
    .
    .
    root
    syst...

    By selecting root and pressing Enter

    root@Francoise:~#_
    appears at the bottom of the screen.

    By typing a command for a new password, it appears
    Enter the new Unix password
    Once this new password is typed
    Retype the new password
    and this new password entered
    passwd: authentication token manipulation error
    Password not changed
    root@Francoise:~#

    If I do the same manipulation, and after
    root@Francoise:~#
    I type
    root@Francoise:~# setxkbmap -layout fr
    as suggested, it does nothing

    It goes without saying that I am typing on an AZERTY keyboard but typing the keys corresponding to a QWERTY keyboard, and that setxkbmap indeed appears on the screen

    There is no caps lock or numeric lock.

    I have not yet had time to perform the disk space manipulations, but apparently, the quite old computer is not loaded at all; I will try.

    Thank you, and see you later

    Bernard
    0
  7. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 940
     
    Suppose that the profile you usually use in graphic mode is "toto". Can you identify as "toto" in text mode?
    https://www.mistra.fr/tutoriel-linux-mode-texte.html

    What does it give?

    df -h


    Good luck
    0
  8. patard Posted messages 258 Status Member 8
     
    Thank you

    I didn't see how to log in in text mode, since when I opened the computer, I didn't have the option to open a terminal, I could log in by typing the password in graphical mode, provided I typed the password as if I had a qwerty keyboard.

    Once logged in this way, I could open a terminal without any problem.
    In this terminal, the command df -h returned nothing.

    However, mammiemando pointed me in the right direction by indicating that I could become root from this user account.
    By using the method given in this link
    http://doc.ubuntu-fr.org/root
    in paragraph 2, I was able to re-enter a Unix password, the password was indicated as changed, and the update is currently being done (I am typing on another computer of course)

    We will see later if I am still in qwerty at startup; if not, I will try the method proposed by onegame to try to switch it completely to French

    Thank you all for your help, I will keep you updated as soon as version 15.04 is fully installed.

    Aside from that, and regarding the password, the computer I am typing on is running Xubuntu and Windows XP. During startup, it asks if the boot should be done in Xubuntu or Windows, the default is Xubuntu, and I am not prompted for a password. However, if I leave the computer inactive for a few minutes, I have to type the password to wake it up.
    0
  9. patard Posted messages 258 Status Member 8
     
    The update is totally completed, unfortunately, the computer does not restart.

    I am opening another post.
    0
  10. patard Posted messages 258 Status Member 8
     
    Thank you
    The password issue is resolved, you put me on the right track that allowed me to find the solution and .....unfortunately to do the update as the computer no longer starts since the update.

    I will still check the guide, thank you

    Bernard
    0