LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Setting up RH9 on multiple computers with the same configuration (http://www.linuxquestions.org/questions/linux-newbie-8/setting-up-rh9-on-multiple-computers-with-the-same-configuration-185571/)

gmichel 05-25-2004 05:40 AM

Setting up RH9 on multiple computers with the same configuration
 
Hi!

I am setting up one computer with the programmes that are to be used: Desktop installation + upgrade of OOo + some additional programmes + custom login Page + custom menu, applets and look for users...

My questions are:

1) How can I duplicate all the settings for user A in user B, user C, etc... without having to redo the customization ? (same wallpaper, same menu an look, everything identical.)

2) How can I clone and install the same setting and configuration to 15 other computers? (not networked)

Thanks for your help.

Michel

:newbie:

adamwenner 05-25-2004 07:10 AM

allright, another wonderful thing about linux, in the users home directory you have configured, copy all of the things that start with a dot, these are mostly hidden configurations that you dont normally see.

copy these to a directory called the skel directory in etc

if you are in the home directory of the user you have configured, open a terminal and type in
cp .* /etc/skel/

make sure you are root when you run this


as for making many machines the same, there is something called kickstart

if you have configured one machine, take a floppy, copy the file /root/anaconda-ks.cfg to the floppy
mount /dev/fd0
cp /root/anaconda-ks.cfg /mnt/floppy/ks.cfg

then boot from the cd as normal and at the boot prompt, type in
linux ks=floppy

any other questions, pm me, ill be happy to help

gmichel 05-27-2004 06:04 AM

Hi!

Thanks for you help.

I tried this:

>>if you are in the home directory of the user you have >>configured, open a terminal and type in
>>cp .* /etc/skel/

At some time it said:
--> overwrite? and I answered "y"
--> or nothig happened

I then tried to create new users but I still not get the intended result.

Do I have to do something special to link each user to /etc/skel

Thank you.

:newbie:

adamwenner 05-27-2004 07:02 AM

ok, when you run that command, are you in your configured users home directory

if you are, you may have to copy the files individually, but i dont see why

that command should have worked

make sure that if the files were actually copied, then do ls -la /etc/skel to see if the files are owned by root, if not
chown root /etc/skel/*

if this still doesnt work, i dont know

homey 05-27-2004 08:58 AM

This is the way I have done this....

Create a user ( user1 )and setup the way you want it for other users.
Then run these commands....

rm -rf /etc/skel
mkdir /etc/skel
cp -rf /home/user1/.* /etc/skel
cp -rf /home/user1/Desktop /etc/skel


When you first boot as the new user, you may get a message about using the links from user1.
Just click Ignore.


All times are GMT -5. The time now is 02:02 PM.