Announcement

Collapse
No announcement yet.

Forgot my system login Passwd

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    I'm assuming that you 'logged in' and were at the prompt. If 'yes', then you were logged in using your username but with elevated 'root' privileges. Is this correct?
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #17
      RE: I'm assuming that you 'logged in' and were at the prompt. If 'yes', then you were logged in using your username but with elevated 'root' privileges. Is this correct?

      Not sure about the "elevated 'root' privileges" What does that mean?

      The 1st time I login using my actual login name, is when I start my computer & am asked for my login name. Up to this point this is orchestrated by the settings in my GIGABYTE (Ultra Durable Model) Motherboard settings, set up by a Netflix store Technician, where I purchased it from.
      Once the timer duration expires it requires my password (as above), which it refuses.
      So that is why I think I need a new password.
      Last edited by Bumpalot; Mar 17, 2016, 02:32 PM. Reason: add more info

      Comment


        #18
        The sequence from posting #15 is the correct way, maybe you should try with a different or even empty password.

        On second thought, the error looks more like a privilege issue and a search for the words
        password unchanged
        Authentication token manipulation error
        gave quite a few hits, try the cure with mounting etc in this one:

        https://linhost.info/2013/08/passwd-...-error-ubuntu/
        Last edited by Teunis; Mar 24, 2016, 08:18 AM.

        Comment


          #19
          https://linhost.info/2013/08/passwd-...-error-ubuntu/ does not work
          Tried Esc key + rebooting
          grub>legacy_check_password_xxxxxxx<my passwd
          Enter password: _xxxxxxx<my passwd - failed
          Esc + reboot
          grub>password
          On trying this : my passwd ....failed
          grub>password
          Error: two arguments expected
          grub>legacy_check_password_"mypass"
          Enter Password: "mypass"
          grub> < since no response I thought it had worked!
          Rebooted: tried "mypass" - failed
          Am at a complete loss now.

          Comment


            #20
            You are not even booting the kernel; that's why you get the grub> prompt. None of the suggestions will work until you can boot into the kernel.
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #21
              An other approach is to run a grub repair disk and 'repair' grub by giving it a nice say 15 seconds time out.
              That way you'll have ample opportunity to select the correct 'Advanced' option.

              Comment


                #22
                On bootup I finally got a menu to show
                >> Recovery mode
                >>root
                root@bumpyputer:"#passwd
                Enter new UNIX password: typed new password
                Enter new UNIX password:[typed new password[
                Passwd: password updated successfully
                root@bumpyputer:#
                rebooted: tested the new passwd in Terminal >>FAILED!!!!

                I am soooooo sick of this crap! How can I completely delete the current install & reinstall again?

                Comment


                  #23
                  I can see your despair, I've been there a few times.

                  A new install is easy, rescuing your work is also easy, both involve a live session.
                  The only thing that's harder or impossible to rescue are very individual settings and tweaks you've applied over time, some of them will be taken over from the existing /home but not all.

                  The easiest reinstall is when the /home directory has it's own partition.
                  If it's 'just' a directory on the / (root) then you're best off to first copy it to an external drive, again using the live session.

                  Or you could use the partition manager in the live session to shrink the existing partition sufficiently to add a new one, then copy the content of /home to the new partition.

                  Comment


                    #24
                    Originally posted by Bumpalot View Post
                    On bootup I finally got a menu to show
                    >> Recovery mode
                    >>root
                    root@bumpyputer:"#passwd
                    Enter new UNIX password: typed new password
                    Enter new UNIX password:[typed new password[
                    Passwd: password updated successfully
                    root@bumpyputer:#
                    rebooted: tested the new passwd in Terminal >>FAILED!!!!

                    I am soooooo sick of this crap! How can I completely delete the current install & reinstall again?
                    The problem here is that you didn't specify your user as the one to change the password for; you established/changed root's password.

                    Following the procedure you used to "got a menu to show", you would select Recovery mode (although, root would also work). Once you are at the prompt (which will be a root prompt; note the #) you would type:

                    passwrd username (replacing username with your login name).
                    Last edited by Snowhog; Mar 25, 2016, 06:33 PM.
                    Windows no longer obstructs my view.
                    Using Kubuntu Linux since March 23, 2007.
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                    Comment


                      #25
                      Grrr, thanks and a good point Snowhog, I totally forgot about including the user....

                      Comment


                        #26
                        Also, now that root's password is effectively set (by mistake), it'll probably ask for that password when entering recovery mode. If you wish to return to the default state, you should relock the root password, so the commands are:
                        Code:
                        passwd [username]
                        (set passwd for a user, replace "[username]" with the actual username)
                        Code:
                        passwd -l root
                        (return root account to the default "locked" state)

                        Comment


                          #27
                          I sent a reply by email but can't find it here.
                          This was it:
                          My Motherboard is a Gigabyte Ultra Durable. On perusing the Manual, I discovered that the Motherboard Security Option is set as a password is required for booting the system and for entering the Bios setup.
                          If I changed that to the other available option : A password is only required for entering the Bios Setup Program, that would enable me to perhaps to change my password for booting the system.
                          Any thoughts on that?

                          Comment


                            #28
                            A BIOS password should have no effect on the OS.

                            Sent from my Samsung Galaxy S5 using Tapatalk
                            Registered Linux User 545823

                            Comment


                              #29
                              Code:

                              passwd [username]

                              (set passwd for a user, replace "[username]" with the actual username)
                              Code:
                              passwd -l root << Note; that is a lowercase L
                              cannot lock /etc/shadow, try again later

                              Note: I don't know how to lock
                              Last edited by Bumpalot; Mar 26, 2016, 01:16 PM. Reason: add more info

                              Comment

                              Working...
                              X