Home > Linux > Nollställa root lösenord i Linux

Nollställa root lösenord i Linux

November 12th, 2010 Leave a comment Go to comments

The only really working is to boot from a CD Linux distribution like Ubuntu or Knoppix. Then search the /etc/shadow file and delete all behind root.
Then you should reboot and you can enter with root again without password.

If this is not working then boot again from the Linux distribution and enter the file /etc/group and give a different user than root the root rights for example the www-data user of apache and log in with.

If this is not working and you don’t have local access to the machine then you are smoked.

Categories: Linux Tags:
  1. No comments yet.
  1. No trackbacks yet.