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 recovery 9.406-3 (Asked in German but i guess in English i get more people)

Hi

First of all, iam not a native english speaker so i asked this question first in the german forum.

as you can see here:

https://community.sophos.com/products/unified-threat-management/f/german-forum/83133/password-recovery-9-406-3

 

same topic but only in german.

ok, i lost my webadmin account password and i used this guide to change it:

https://community.sophos.com/kb/de-de/115346

i login in with the bash and did a :

passwd loginuser

passwd root

bash told my password changed

ok reboot

loginuser > login ok

su root

su: incorrect password

any hint for me

thank you !

 



This thread was automatically locked due to age.
  • This procedure worked for me, but i had to do it several times until a login with root was possible. The login as root must be as quick as possible after the reset procedure. Maybe the utm sets the passwords back if there are some passwords in the configuration database.

    German:

    Das Problem hatte ich auch. Es scheint nach dem Reboot nur ein kleines Zeitfenster für das Login zu geben, bevor wahrscheinlich die hinterlegten Passwörter aus der Konfiguration wieder gesetzt werden. Man kann es aber schaffen.

    Good luck / Viel Glück

     

    Sophos Certified Architect (UTM + XG)

  • you should set the password for loginuser and root from webadmin.

    seems you know the current passwords for loginuser and root (su) why you need to recover this passwords?

    to reset the webadmin password, login with root (from ssh: loginuser / su) and use the cc commands from article.


    Dirk

    Systema Gesellschaft für angewandte Datentechnik mbH  // Sophos Platinum Partner
    Sophos Solution Partner since 2003
    If a post solves your question, click the 'Verify Answer' link at this post.

  • the problem is: i can cant logins with my root password.

    if iam on the konsole directly connectet via keyboad in and try to log in to the UTM, i get:

    Login incorrect

     

    so my problem is, that i dont have the webadmin password anymore and can not change it via webadmin

  • so the message "passwd root  /  bash told my password changed" is not correct.

    otherwise you should be able to use the new password for SU commande directly (without reboot)

    my last option (within a test environment)  was to boot from linux-iso/cd, mount the UTM-HDD and edit the 2 password files.

    there are a part of line containing the encrypted password. deleting these part removes the password.

    ... sorry don't know details currently, because the action is few some years.

    afterwards you boot UTM and are able to access the device without password. (from console only)

    you should quick reset the webadmin password and reset all passwords from webadmin.

       


    Dirk

    Systema Gesellschaft für angewandte Datentechnik mbH  // Sophos Platinum Partner
    Sophos Solution Partner since 2003
    If a post solves your question, click the 'Verify Answer' link at this post.