Performing a Factory Reset
There are multiple methods available to perform a factory reset:
- When logged in with HIGH privileges (admin). Gnome Control Center -> Device Settings -> Advanced -> Factory Reset
- G-key - Hold the 'g' key on the keyboard while the device is booting.
- Touch /etc/NEED_FACTORY_RESET
What Happens During a Factory Reset
Summary
The following items are reset to defaults:
- User passwords (admin, thinuser, guest)
- Time Zone & Time Server Configuration
- Cached INI file(s)
- User Customizations
- Installed Printers
- Network Manager Settings
- Update.mode = Both, Update.preserve_changes = No, Force Update = No
- G-Key Reset set to 1 (Allowed)
- Registry (Persistent and Saved)
Full Reset Process
A factory reset occurs during the boot process. When the device is signalled to perform a factory reset (using one of the above methods), the `/etc/init.d/boot.factory_reset` script is run.
Here's a breakdown of that script:
Command(s) | Explanation |
---|
rm -fr /etc/userlevel/home mkdir /etc/userlevel/home | Reset /etc/userlevel/home |
| Reset passwords |
| Reset Time Zone |
| Reset Time Server |
| Reset Registry |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Delete Cached INI |
| Delete Cached User Information |
| Delete monitors.xml |
| Delete Cached INI |
| Reset Update Preferences |
|
|
| Delete printers |
| Reset Network Manager settings |
|
|
| Enable g-key reset |