Results 1 to 8 of 8

Thread: cant log into root because passwd change is required

  1. #1
    Join Date
    Jan 2012
    Beans
    167
    Distro
    Ubuntu 12.04 Precise Pangolin

    cant log into root because passwd change is required

    i cant change the password and i get "authentication token manipulation error. i just set the hardware clock/time and from googling that seems to be the cause. how can i login?
    btw it's debian not ubuntu but i figure the authentication should be pretty much identical.

  2. #2
    Join Date
    Mar 2012
    Location
    Near one of my computers
    Beans
    307
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: cant log into root because passwd change is required

    So can you access the system at all?

    If you can't, you can use a live cd to chroot into your locked out system. From there you should be able to change whatever password you need using:
    Code:
    passwd user
    Please, anyone correct me if I am incorrect.

  3. #3
    Join Date
    Jan 2012
    Beans
    167
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: cant log into root because passwd change is required

    its running off a usb on an ARMv11 development board but i can access the system files on my laptop
    If only I could grep life.......

  4. #4
    Join Date
    Jan 2011
    Beans
    51

    Re: cant log into root because passwd change is required

    You have to do it from the machine,not through SSH.I
    If the Arm board have a next USB boot-able slot.
    Just make another USB

  5. #5
    Join Date
    Jan 2012
    Beans
    167
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: cant log into root because passwd change is required

    it does but i cant boot from it. i can mount the filesystem on my ubuntu machine. can i reset the expiration date from there? maybe /etc/shadow?
    If only I could grep life.......

  6. #6
    Join Date
    Jan 2011
    Beans
    51

    Re: cant log into root because passwd change is required

    Well here is where you gonna be surprise,In a linux file system each files depend on another.the mere fact you can see the passwd or /etc/shadow do not mean you can change it.

    If you manage to change it,which I am sure it tells you that there is a permission problem,will mean you can hack the encryption or password.Which may brick your box

    You have to drop Grub and the Kernel.Grub will rebuild when you restart and recognised the new password.

    So if your USB has only system file,start over.Or when you hack the password files let us all know.

  7. #7
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: cant log into root because passwd change is required

    Quote Originally Posted by z3nhakr View Post
    btw it's debian not ubuntu
    Thread moved to Other OS/Distro Talk.
    Ubuntu 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

  8. #8
    Join Date
    Jan 2012
    Beans
    167
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: cant log into root because passwd change is required

    so if i hack the password it will reset the expiration time? im guessing your talking about a hack where it changes the password instead of brute forcing it like ntpasswd or whatever for reseting windows passwords. i think iv heard of a way to do that on linux systems but it's probably not very straightforward... but would that reset the expiration date? hmmmm.. it seeems waaay to complicated. why won't it let me just change the password? oh and if i made another user and changed the hardware time, would i have this problem with that user too?
    If only I could grep life.......

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
  •