I have a question and hope you guys would be able to help me out.
I am going to make an fresh Ubuntu 11.10 installation. While installing, I would create the user "chris". Afterwards I would configure the desktop and install lots of stuff for the user "chris". Some of this stuff would be i.e. RVM (ruby version manager) which will create lots of files in my /home/chris folder. So at the end there would be lots of stuff in my /home/chris folder, incl. files refering to "/home/chris/some_stuff/...", etc.
When all is set and done, I would make an image of the installation using fsarchiver and restore the image to 2 other identical laptops. So far everything works perfect!
The problem is: The 2 other laptops need to have 2 different users: "marco" and "flo". Those 2 users need exactly the installed stuff I have in /home/chris. So their home folder would be /home/marco and /home/flo.
How do I change the user name from "chris" to "marco" after restoring the image to Marco's laptop? My initial user account /home/chris won't make any sense on Marco's laptop, right?
And here comes the most important question: How will I manage to find out all files which contain the string "/home/chris" and change it to "/home/marco"?
Maybe there is a better way of making a default install on a default user, backup the installation and then redistribute it to any other user. Can somebody help me?