LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-01-2008, 01:56 PM   #1
lordrayden75
LQ Newbie
 
Registered: Mar 2007
Distribution: Kubuntu 8.04
Posts: 22

Rep: Reputation: 16
Unhappy Transferring user settings


Hi, I'd like to know how can I create a new user on my machine, but to transfer there all my settings e.g. font configuration, appearance, firefox configuration, groups that I belong to etc. except of course m y files
I installed Kubuntu 8.04 and I spent some time configuring these for me, so I don't want to go through that again.
So in fact I want to clone this user and make another based on this.

Tnx

Last edited by lordrayden75; 09-01-2008 at 01:58 PM.
 
Old 09-01-2008, 04:42 PM   #2
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,094

Rep: Reputation: 198Reputation: 198
They'll probably be some GUI tool for creating new users but I don't know what it is in debian. The command line method is with useradd command

Groups you belong to are defined in /etc/group so you'll need to look at that and modify as appropriate.


If you want to copy all your config settings then the easiest way is once you've created the new user, become root, change in to the new user's home directory then do

Code:
$ cp -r /home/oldusercode/.[a-zA-Z0-9]* .
$ chown -R newusercode .*
cp copies file, chown sets ownership.
 
Old 09-02-2008, 10:17 AM   #3
lordrayden75
LQ Newbie
 
Registered: Mar 2007
Distribution: Kubuntu 8.04
Posts: 22

Original Poster
Rep: Reputation: 16
Well done

I did it, tnx. Wasn't looking for a gui tool, but it seems i should learn more about linux system folders
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gconf-editor settings not sticking for root, sudo user, or user when run sandaili Fedora 1 07-19-2008 08:31 AM
User settings Thanotos Slackware 6 01-10-2006 05:58 PM
Transferring settings from one box to another mpyusko Red Hat 2 08-31-2004 03:39 PM
transferring settings to another user acct notslim Linux - Newbie 15 08-17-2003 11:17 PM
user settings exigent Linux - General 2 09-17-2002 04:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:13 AM.

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