Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: gutsy wont recognize password. Recovery not an option.

  1. #11
    Join Date
    Mar 2008
    Location
    Copenhagen Denmark
    Beans
    722
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: gutsy wont recognize password. Recovery not an option.

    it worked, but I still get the same problem. it wont recognize the password

    Code:
    jakup@ubuntu:/$ passwd
    Changing password for jakup.
    (current) UNIX password: 
    passwd: Authentication failure
    passwd: password unchanged
    Ubuntu 10.10 Maverick | ASUS A6Rp | Intel(R) Celeron(R) M CPU 420 @ 1.60GHz | 4 GB ram |
    Graphic Card: ATI Technologies inc RC410 [Radeon Xpress 200M]

  2. #12
    Join Date
    Jan 2008
    Beans
    4,757

    Re: gutsy wont recognize password. Recovery not an option.

    Hmm...

    Probably best to back up your home folder.
    Then remove and re-add your account,

    Code:
    jakup@ubuntu:/$ sudo cp /home/jakup /home/jakup.bak
    jakup@ubuntu:/$ exit
    root@ubuntu:/$ deluser --backup-to /home jakup
    root@ubuntu:/$ adduser jakup
    That should give you two copies of your home folder, one in a tarball.

    One done, just copy or extract the files back into your home folder when you log back in.

    Regards
    Iain

  3. #13
    Join Date
    Mar 2008
    Location
    Copenhagen Denmark
    Beans
    722
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: gutsy wont recognize password. Recovery not an option.

    thankyou very much... where did the thank button go?? is that feature removed?? what a pity.
    Ubuntu 10.10 Maverick | ASUS A6Rp | Intel(R) Celeron(R) M CPU 420 @ 1.60GHz | 4 GB ram |
    Graphic Card: ATI Technologies inc RC410 [Radeon Xpress 200M]

  4. #14
    Join Date
    Mar 2008
    Location
    Copenhagen Denmark
    Beans
    722
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: gutsy wont recognize password. Recovery not an option.

    oh no! but now when I try to do something witch requires super user, i get:

    Code:
    jakup@bobby:~$ sudo mv stardict-freedict-dan-eng-2.4.2 /usr/share/stardict/dic
    [sudo] password for jakup:
    jakup is not in the sudoers file.  This incident will be reported.
    .
    Ubuntu 10.10 Maverick | ASUS A6Rp | Intel(R) Celeron(R) M CPU 420 @ 1.60GHz | 4 GB ram |
    Graphic Card: ATI Technologies inc RC410 [Radeon Xpress 200M]

  5. #15
    Join Date
    Jan 2008
    Beans
    4,757

    Re: gutsy wont recognize password. Recovery not an option.

    Site is going through some updates atm.

    It should all be back in a day or two.

    As for your password disappearing...
    It seems awfully strange for that to happen.

    Ironically enough, I've just found a simpler way to fix it (darn it, how did I miss that in the passwd manual...)

    Alternatively, while booted in the LiveCD and chroot'd to your Ubuntu Install, you could've done:
    Code:
    root@ubuntu:~# passwd -d jakup
    Password changed.
    root@fredbuntu:~# passwd jakup
    Enter new UNIX password: 
    Retype new UNIX password: 
    passwd: password updated successfully
    Ah well... I've learnt something new today.

    Regards
    Iain
    Last edited by ibuclaw; April 22nd, 2008 at 03:04 PM.

  6. #16
    Join Date
    Mar 2008
    Location
    Copenhagen Denmark
    Beans
    722
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: gutsy wont recognize password. Recovery not an option.

    no. the last time this happened, before I reinstalled some time ago, i tried this in recovery mode, but it didn't work. It said that the password was updated successfully, but it still wouldn't allow me to login
    Ubuntu 10.10 Maverick | ASUS A6Rp | Intel(R) Celeron(R) M CPU 420 @ 1.60GHz | 4 GB ram |
    Graphic Card: ATI Technologies inc RC410 [Radeon Xpress 200M]

  7. #17
    Join Date
    Jan 2008
    Beans
    4,757

    Re: gutsy wont recognize password. Recovery not an option.

    Oops...
    I know where it went wrong though!
    You're not part of the group "admin" anymore...
    You'll have to go back to LiveCD (sorry)
    Follow the steps up to chroot.
    Then type in:
    Code:
     useradd -g admin jakup
    Again, sorry.

    Iain

  8. #18
    Join Date
    Mar 2008
    Location
    Copenhagen Denmark
    Beans
    722
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: gutsy wont recognize password. Recovery not an option.

    thanks but it gives me this:

    Code:
    root@ubuntu:/# useradd -g admin jakup
    useradd: user jakup exists
    and the problem is still there.
    Ubuntu 10.10 Maverick | ASUS A6Rp | Intel(R) Celeron(R) M CPU 420 @ 1.60GHz | 4 GB ram |
    Graphic Card: ATI Technologies inc RC410 [Radeon Xpress 200M]

  9. #19
    Join Date
    Mar 2008
    Location
    Copenhagen Denmark
    Beans
    722
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: gutsy wont recognize password. Recovery not an option.

    I solved this myself. This is what i did, if anyone encounters the same problem.

    First I did a backup of the "group" file

    Code:
    sudo cp /etc/group /etc/group.bak
    then I opened it.

    Code:
    nano /etc/group
    and put my username at the end of the line that says "admin" like this:

    Code:
    admin:x:110:jakup
    but I don't like it... because it feels like i'm running as root... maybe I am??
    Ubuntu 10.10 Maverick | ASUS A6Rp | Intel(R) Celeron(R) M CPU 420 @ 1.60GHz | 4 GB ram |
    Graphic Card: ATI Technologies inc RC410 [Radeon Xpress 200M]

  10. #20
    Join Date
    Jan 2008
    Beans
    4,757

    Re: gutsy wont recognize password. Recovery not an option.

    It's all good.

    If you read the sudoers file, you'll find this line:
    # Members of the admin group may gain root privileges
    %admin ALL=(ALL) ALL
    As it so rightfully says, only members of the admin group may gain root privileges.

    So what you've done is right.

    Regards
    Iain

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •