Root account expired

root

I have two accounts on my computer: james and john. james is the only administrative account and a few days ago I set it to expire out of curiosity. Now am stuck. I can not login using james because it has expired, I can not use john for anything because it is not a member of sudoers. I can not login as root probably because root and james shared a password.

Best Answer

Just turn off the computer , use another live system , e.g liveCD ,

Boot and chroot , change the password and expire time.

Related Question