LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-25-2004, 05:40 AM   #1
gmichel
Member
 
Registered: Aug 2003
Location: Bangkok
Distribution: Red Hat 9
Posts: 56

Rep: Reputation: 15
Question 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

 
Old 05-25-2004, 07:10 AM   #2
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
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
 
Old 05-27-2004, 06:04 AM   #3
gmichel
Member
 
Registered: Aug 2003
Location: Bangkok
Distribution: Red Hat 9
Posts: 56

Original Poster
Rep: Reputation: 15
Unhappy

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.

 
Old 05-27-2004, 07:02 AM   #4
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
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
 
Old 05-27-2004, 08:58 AM   #5
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple computers on IPCop 13? on orange ac3kid Linux - Networking 2 01-13-2005 11:32 PM
Using one Samba user for multiple computers Rax Linux - Networking 2 10-28-2004 09:26 AM
Using GPG Keys on Multiple Computers General_Tso Linux - Security 5 10-06-2004 10:37 AM
compiling on multiple computers Peluso Linux - Software 3 08-30-2004 12:26 PM
Connect multiple computers behind a broadband router timyaukey Linux - Networking 4 07-03-2004 08:44 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration