Resetting Admin Password (kernel 4.9)

Please note: this article is only valid for Untangles running kernel 4.9. (How can I tell which kernel I'm using?)

1. Reboot the Untangle. To get into the Grub menu, start pressing the up arrow rapidly after reboot so that the menu doesn't disappear after 3 seconds.

Note: This procedure may not work over KVM as some keyboards may not be detected while editing GRUB. 

2. Edit the GRUB boot options by selecting the version you want to use and press 'e' on the keyboard.

3. Use the arrow keys to move to the line starting with linux, highlighted here in yellow:

1_Initial_GRUB_Boot_Edit.png

4. Add init=/bin/bash to the end of that line, then press Ctrl + X:
2_Editing_To_Enter_bash_shell_from_GRUB.png

5. Use "mount -o remount,rw /" command to add read/write permissions to fresh mounted /:

4_Command_to_Set_Write_permissions_on_mount.png

6. Use "passwd" command to change root password. Ensure proper use of best practices for this password.

5_Command_to_Change_Root_Password.png

6_Output_after_changing_Root_Password.png

7. Use "exit" command to reboot system:

7_To_Reboot_System_after_Password_Change.png

8. Once the system has come back up, click Terminal:

8_Choose_Terminal_Once_Server_is_Booted_Up.png

9. Log in with the new root password you created:

9_Enter_Newly_Created_Root_Password_to_Login_as_Root.png

10. Enter the command "rm -f /usr/share/untangle/settings/untangle-vm/admin.js" to delete the admin JavaScript file:

10_Enter_Command_to_Delete_Admin_Javascript_File.png

11. Reboot your Untangle once more.

12. Log into the client via the Launch Client button, then log in with the new credentials admin and passwd.

Follow
Was this article helpful?
0 out of 1 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.

Powered by Zendesk