LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 12-20-2006, 10:50 PM   #1
drlouis
Member
 
Registered: Aug 2004
Location: Ne
Distribution: slackware 12 on Dell XPS m1710
Posts: 90

Rep: Reputation: 15
easy way to copy settings/config from root to user


I set up a computer for bored gentleman living in a nursing home to play chess and some other games on as well as publish a newletter. trouble is I didn't know his name so I got it all set up, devices working nicely from the KDE desktop etc as root, and then added him as a user once I found out his first name. now I'm faced with redoing almost everything again for his user account. But it occured to me this is linux, it should be possible to copy root's KDE config over to his user account. Trouble is I dont know how, and I'm coming up completely blank on Google.

it's slackware 11 huge26s, and no other changes.

thanks a lot.

Louis
 
Old 12-20-2006, 11:26 PM   #2
Netizen
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355

Rep: Reputation: 30
Yes. Copy the .kde folder and .kderc file under /root to the new user.

I'm curious what you searched for. 'copy kde settings' in google yielded quite a few good hits for me.

Last edited by Netizen; 12-20-2006 at 11:28 PM.
 
Old 12-20-2006, 11:38 PM   #3
drlouis
Member
 
Registered: Aug 2004
Location: Ne
Distribution: slackware 12 on Dell XPS m1710
Posts: 90

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Netizen
Yes. Copy the .kde folder and .kderc file under /root to the new user.

I'm curious what you searched for. 'copy kde settings' in google yielded quite a few good hits for me.
thanks, I'd tried just copying .kde, without any apparent changes. I'll try moving the .kderc as well.

I tried your search terms and did find several good hits. I'd searched google.com/linux for a couple of different terms, and didn't get much.

Thanks.
 
Old 12-21-2006, 12:08 AM   #4
drlouis
Member
 
Registered: Aug 2004
Location: Ne
Distribution: slackware 12 on Dell XPS m1710
Posts: 90

Original Poster
Rep: Reputation: 15
ok, I copied both .kde, and .kderc. no apparent effect. I then did a chown ~user /home/~user/.kde (and .kderc), still no joy. next I went out on a limb and copied pretty much every file/directory in /root, and changed ownership of them. Still nothing. am I gonna have to do this by hand?

edit: ok, finally got it to work. I had to first delete the files from ~user and THEN copy them from /root and chown them.

thanks for the push in the right direction.

Last edited by drlouis; 12-21-2006 at 12:25 AM.
 
Old 12-21-2006, 01:54 AM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,434

Rep: Reputation: 303Reputation: 303Reputation: 303Reputation: 303
You can also copy the files to /etc/skel. Then setup the new users account using some utility that copies the files over to the new account, all new users will get the same starting settings. gUserman is what I use.
 
Old 12-25-2006, 07:17 PM   #6
drlouis
Member
 
Registered: Aug 2004
Location: Ne
Distribution: slackware 12 on Dell XPS m1710
Posts: 90

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by gnashley
You can also copy the files to /etc/skel. Then setup the new users account using some utility that copies the files over to the new account, all new users will get the same starting settings. gUserman is what I use.
this box ended up being a "community" machine for several residents, and this method worked perfectly.

Thank you very much!

this one's a gem
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy all enviornment settings to another user sunhui Linux - Software 1 11-28-2006 10:47 PM
root user unable to copy file Ammad Linux - General 4 01-16-2006 01:08 PM
copy KDE settings to another user jlinkels Linux - Software 1 09-02-2004 04:21 AM
Easy httpd config: Config for ~user lsgko Linux - Software 0 08-21-2003 11:55 PM
Easy httpd config: Config for ~user lsgko Linux - Newbie 2 08-18-2003 05:34 PM


All times are GMT -5. The time now is 03:16 AM.

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
Open Source Consulting | Domain Registration