Jump to content

root passwd problems with OS


localtracker

Recommended Posts

Hey!

I am running kali linux the latest build. I am running it from a USB drive in persistence mode. I have a macbook pro and it won't boot from the USB so I have to boot from the live CD till the GRUB and then choose live usb persistence to login to the system. I wanted to change my root passwd so while I was logged into my root account, I issued the command

passwd root

That asked me for a new passwd twice and I entered it both the times correctly. Later when I rebooted the system, it wont accept the new passwd (not the old one also) and wont let me login saying authentication failure.

I have a second account on the box called "phantom" which does not have sudo privileges and both

sudo passwd root
sudo adduser phantom sudo

does not work! Directly trying to edit the sudoers file from this second account does not let me do so cause I dont have sudo rights.

Pressing 'e' in GRUB when I select the USB option does not work.

What is the way around this? I can't afford to reinstall and lose the system.

Any help is appreciated...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...