Is there a way I can install Ubuntu so the users that buy the computer from me set up their preferences?

Asked by Jeb E.

Is there a way I can install Ubuntu so the users that buy the computer from me set up their preferences?
I am planning on installing Ubuntu on computers to sell, and I am just wondering if there is a way I can install Ubuntu (or variants) and the people who buy the computer from me set up their settings at first startup. Is there?

Please respond asap! :)
Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ubiquity Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Sure, just install it and get it updated. Get all the hardware working and then boot to root recovery mode. Go into the home folder of the user and delete ALL the hidden folders and files EXCEPT ~/.bashrc

Sell the unit, when they log in they will get vanilla settings and can configure as they wish.

Revision history for this message
Ben Klein (kleinb1) said :
#2

The command to do this are:

cd /home/<username>
ls -d --ignore=.bashrc .* | xargs rm -rf

The first command changes the working directory to the user's home directory.
The first part of the second command lists all of the hidden files EXCEPT .bashrc , and the second part of the command actually deletes them.

Can you help with this problem?

Provide an answer of your own, or ask Jeb E. for more information if necessary.

To post a message you must log in.