Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 07-01-2004, 07:22 AM   #1
Registered: Apr 2004
Location: UK
Distribution: Fedora Core (all), Knoppix, RHEL, Centos, Debian
Posts: 100

Rep: Reputation: 16
Lightbulb How do I create a default user profile in Linux

Hi All,

This is more of a non urgent general enquiry, I have tried a few searches so far but found little info that helps me out.
I am a bit of M$ guru but have been trying to finally get myself over to Linux for a while and I have to say I love it. I have a background in Solaris, which I have found helpful so I am not a total stranger to the Linux/Unix environment.

In my quest towards better moving over to Linux, and of course trying to convert friends and family to my new love of Linux and Samba (for the server end). What I really need is an easy way (or guide) to create and modify default profiles. After I build a system with a Distro and install my chosen apps such as firefox etc and I have created all my links and got the desktop looking how I want and the apps opening for the correct file type etc. How do I then make this profile the default so all other created users are based on this original user? – Any help on this would be great.

Thanks in advance
Old 07-01-2004, 07:33 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
your choice of desktop manager (e.g. KDE or Gnome) might well have a higher level way to deal with it's own things, but at a lower system level, when you create a user all files existing in /etc/skel (for skeleton... which kinda makes sense...) will be copied to the users new home directory. In theory this could include KDE desktops and such, but generally it's more used for, as i said, the lower level things like setting up filepaths and things.
Old 07-01-2004, 07:35 AM   #3
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Have a look in /etc/skel. Copies of the files in there are what will be present in a newly created user's home directory. You can create another directory if you want to create an alternate profile and pass that option to useradd with the -k option: useradd -G users,games,audio,cdrom -m -k /etc/my_own_skel new_user or something similar.

Do keep in mind that you should use relative paths so the profile doesn't depend on the name of the user.



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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Load kde profile from /mnt/removable/user instead of /home/user Linux - General 3 12-02-2005 03:00 PM
how to create linux user novaprime Linux - Security 3 08-15-2005 03:31 PM
how to create user in linux phoenix_fei Linux - General 17 12-03-2004 09:52 PM
Create Profile in Firefox raysr Linux - Software 6 05-01-2004 05:50 AM
Can't create new user for linux. Help! jbeedham Linux - General 5 08-22-2003 01:59 PM > Forums > Linux Forums > Linux - General

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

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