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.
  • 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.
  • There may be a way, but Astaro would not want you to know it.

    Sorry I can't be of more help...
  • ASL is a linux based, and you should be able to boot it up in single user mode. When the OS is in single user "state" you are root. Use the passwd command to change the root password. Then you could passwd loginuser to change the loginusers password.

    Try google for this issue!

    I assume you dont have password protectet the bootloader..

    LHE  
  • Differant way to do it in Single user mode...

    edit /etc/wfe/conf/settings & change

    reset_pwd = 0 to reset_pwd = 1

    reboot & goto the webadmin, it'll then ask you to enter new passwords for root/loginuser/admin/boot loader 
  • in this case a reboot isn'T nescessary, just reload WebAdmin.

    Greetings
    cyclops