Password Recovery: Difference between revisions
From Edge Threat Management Wiki - Arista
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
2) When you see the boot menu (GRUB) press 'e' to edit the current boot entry | 2) When you see the boot menu (GRUB) press 'e' to edit the current boot entry | ||
[[Image:password_recovery_2.png|center|thumb|800px]] | |||
3) Using your arrow keys move down to the line "linux /boot/.." and go to the end of the line and add the text " init=/bin/sh" | 3) Using your arrow keys move down to the line "linux /boot/.." and go to the end of the line and add the text " init=/bin/sh" | ||
[[Image:password_recovery_3.png|center|thumb|800px]] | |||
4) Press F10 to boot the edited option | 4) Press F10 to boot the edited option | ||
[[Image:password_recovery_4.png|center|thumb|800px]] | |||
5) When a prompt appears run the following commands: | 5) When a prompt appears run the following commands: | ||
Line 18: | Line 24: | ||
* rm -f /usr/share/untangle/settings/untangle-vm/admin.js | * rm -f /usr/share/untangle/settings/untangle-vm/admin.js | ||
* exit | * exit | ||
[[Image:password_recovery_5.png|center|thumb|800px]] | |||
6) Reboot the server again | 6) Reboot the server again | ||
7) Log in with "admin" and "passwd" and change the password to something secure. | 7) Log in with "admin" and "passwd" and change the password to something secure. |
Revision as of 02:00, 28 November 2017
If you have forgotten the administrator password/credentials you can reset your administration settings to the defaults.
- If "Connect to cloud" was enabled in System settings then you can possibly access your system by using the Command Center in your account at untangle.com
- If you have physical access to the server, you can reset the settings to the default admin/passwd credentials.
Using physical access do the following steps:
1) Reboot the server
2) When you see the boot menu (GRUB) press 'e' to edit the current boot entry
3) Using your arrow keys move down to the line "linux /boot/.." and go to the end of the line and add the text " init=/bin/sh"
4) Press F10 to boot the edited option
5) When a prompt appears run the following commands:
* mount -o remount,rw / * rm -f /usr/share/untangle/settings/untangle-vm/admin.js * exit
6) Reboot the server again
7) Log in with "admin" and "passwd" and change the password to something secure.