If you’ve forgotten your password for the Sophos Update Manager (SUM) or Ubuntu Update Manager, don’t panic. It is possible to change your passwords in both of these systems. To do this, there is a specific set of steps that must be followed. Then once you have your password changed, you can get back to work in no time.
Change the password for the SophosUpdateMgr user. To do this, open Computer Management and select the “Change Password” option. Enter a new password which can be easily remembered. Ideally, your password should contain a mix of both letters and numbers to maintain security.
Obtain a copy of ObfuscationUtil.exe. This can be downloaded from the Sophos website. When you click on this link, a new window will open in your browser. You will be given the option to either save the file or cancel. Choose “Save” then copy ObfuscationUtil.exe to C:\Program Files\Sophos\SCC.
Open a command prompt and change the directory. Type in the following directory: C:\Program Files\Sophos\SCC. Then hit enter.
Type the following command: ObfuscationUtil_40.exe --obfuscate <password> (use your new password in place of <password>).
Right-click on C:\Program Files\Sophos\SCC\SUM\system.xml and select "Edit." You can change the <ImpersonationAccount> section here. To do this, find the item titled, <Password installer-obfuscated="true">. Change this item name from <Password installer-obfuscated="true"> to <Password obfuscated="true">. You will need to take out the current obfuscated password string and paste in the result from the ObfuscateUtil.exe command you ran previously.
Save changes to system.xml and restart the Sophos Update Manager service.
Reboot into recovery mode. If Ubuntu is the only operating system on your system, simply hold down the shift key during bootup. If you are running Ubuntu alongside another operating system, such as Windows, the boot menu should automatically appear during bootup. Select "Recovery mode" from the boot menu. Once the boot process is complete, you will be given a list of options from which to choose.
Select the "Drop to Root Shell" prompt. Scroll down to this option then press "Enter." Once you have reached the root shell prompt, type in the following: ls /home.
Change the password. Type the following: passwd username. (Substitute the actual user name you would like to update for the word, "username." For example, if you were changing the password for a user named Mandy, you would type in, "passwd mandy.") At this point, the system will prompt you to enter a new password. Simply type in the new password and hit "Enter." (Please note, there will be no visual response to acknowledge that you have typed in anything. This is normal.)
Exit recovery mode. Type in "exit" to return to the recovery menu. From the recovery menu, select "Resume Normal Boot." At this point, you should be able to log in as usual, using your new password.