This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Password change

How can i change the root and the loginuser password when only remembering the (web)admin password??  


This thread was automatically locked due to age.
Parents
  • I have'nt looked to see if admin is real linux account, but if it is, you can copy the md5 hash for the admin password over the root and loginuser accounts.  this is in /etc/shadow.

    hmm... but then this puts you back to the point where you can't get a shell prompt even from the console.  I think you can boot into a different runlevel and do this.  I'm not exactly sure how to do it.  someone here more than likely knows.  I guess you could also create a linux boot disk.  boot from it and then mount the partition and do it that way.

    the copying of the hash should work, but as to how to get you there, someone else will have to elaborate on that aspect of the process. 

    I did a search and found  this.
Reply
  • I have'nt looked to see if admin is real linux account, but if it is, you can copy the md5 hash for the admin password over the root and loginuser accounts.  this is in /etc/shadow.

    hmm... but then this puts you back to the point where you can't get a shell prompt even from the console.  I think you can boot into a different runlevel and do this.  I'm not exactly sure how to do it.  someone here more than likely knows.  I guess you could also create a linux boot disk.  boot from it and then mount the partition and do it that way.

    the copying of the hash should work, but as to how to get you there, someone else will have to elaborate on that aspect of the process. 

    I did a search and found  this.
Children
No Data