LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how do i hack in to ROOT? (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-hack-in-to-root-756081/)

aturner 09-17-2009 10:22 PM

how do i hack in to ROOT?
 
we made a password for root right? well we've forgotten the password and we can't do any administrative tasks.:doh: we've tried our password but it didn't work:banghead: so we asked, and somebody said something about sudo, i thought it answered everything:D, just to find out that typing sudo does not work:banghead:!!!!!!!!!!!!!!!!!!!!!!!HELP!

~sHyLoCk~ 09-17-2009 10:29 PM

In ubuntu root passwd = user passwd, since you have to use sudo and you can't login directly as root.

Elv13 09-17-2009 10:33 PM

To reset it, do a "chroot" from a live-cd to your main installation and use "passwd" to change the password.

bhageshp 09-17-2009 11:53 PM

crack root passwd
 
please specify which distro you are using.

Just boot from a live CD, mount the / partion and removed the password field "x" in /etc/passwd file for root. You can go inside without a passwd and once loged in as root change the passwd and restore the original configuration.

mobinskariya 09-18-2009 12:13 AM

this is frequently asked in this forum..visit the follwing thread and you can find many ways of resetting your root password
http://www.linuxquestions.org/questi...ssword-755262/


All times are GMT -5. The time now is 08:57 AM.