Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: General Linux: Copying one user to another< Next Oldest | Next Newest >
john.martzouco Offline

Group: Members
Posts: 253
Joined: Nov. 2007
Posted: Nov. 27 2007,12:30 QUOTE

Hi All,

I'm new(ish) to Linux/Unix and this is a question coming from that perspective.  I'm an old-hat on Windows, so conceptually, I understand operating systems and configurations.

If I wanted to use the profile of one user as a template for a new user in Linux, would it be safe for me to copy everything I find in /home/olduser ==> /home/newuser?  Where olduser is a user that has been set up (with Vesa, Firefox homepage, fonts, OS WM etc) and newuser is a newly added user with minimal config done.

Can this be done under DSL or are there user-specific files saved in places other than the home directories?

Much thanks,
Back to top
Profile PM 
mikshaw Offline

Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 27 2007,15:48 QUOTE

There should be no user-specific files, other than tempfiles, created outside /home/username, so copying that directory will be sufficient for getting a similar profile.

You will need to change owner of all those files, though. If your new user is "john", do chown -R john /home/john

There may also be files in there, such as the firefox cache, that you may not want to include.

The typical way of modifying new users' profiles, though, is to change the contents of /etc/skel
Changes to this directory will affect any user that is created after the changes, and manually chowning the files is unnecessary.

Back to top
Profile PM WEB 
1 replies since Nov. 27 2007,12:30 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Quick Reply: General Linux: Copying one user to another

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code