Difference between revisions of "Prepare for shipping to end user"

From FreekiWiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{Migrate}}
+
{{Migrated}}
 +
[https://docs.google.com/a/freegeek.org/document/d/1RhpNAoHHH2Z3wZbQhijnWRv6Cbrtn4HCgbRrSWhQF4A/edit Link]
  
 
==Scary Warning==
 
==Scary Warning==

Latest revision as of 16:25, 21 May 2014

deletion

This page has been migrated to a document on Free Geek's Google Drive.

Information remaining behind may no longer be relevant.

MIGRATOR:

When you have tagged this page as migrated,
please add a link to the new document on Google Drive.

(Link to new page immediately below.)


Link

Scary Warning

Please do not use this option to set a users name and password at any time other than when they are first receiving it. THIS SCRIPT WILL ERASE ALL EXISTING USERS AND DATA at the time it is run. this should no longer happen with the default Free Geek 12.04 intall. Be wary!

Overview

"Prepare for shipping to end user" is a script that erases the default (oem) account and adds a new user with the same privileges. It can be found by clicking on:

System > Administration > "Prepare for Shipping to End User."

Known Issues

Usings names like "oem," "root," and "admin" may cause problems. So don't do it!

Rolling Back Prepare for Shipping to End User

If Prepare for Shipping to End User has already been run and you'd like to roll it back to the default oem account, follow these steps:

  • Press and hold the Shift key immediately after the POST screen. Continue to hold until you reach the GRUB menu.
  • From the GRUB menu, select an image with 'recovery mode'.
  • From the Recovery Mode menu, choose 'root' or 'drop to root shell'.
  • At the root shell, run the following command:
mount -o remount,rw /
Note the lower case letter 'o' after the dash, and the lack of spaces between 'mount', the comma, and 'rw'.
  • Next, run this command:
apt-get purge oem-config
answer yes to confirm, then run reboot when it's finished.
  • The system should now boot normally (if it goes to the GRUB menu, just select the topmost image on the list).

Rerunning After Removal

  • To run Prepare for Shipping to End User after it has been removed, run the following:
sudo apt-get install oem-config-gtk
and reboot. Note that this will automatically run it, so only do this when the computer is ready to ship out again.