LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Customize directory set created with useradd (https://www.linuxquestions.org/questions/fedora-35/customize-directory-set-created-with-useradd-941856/)

dgodbey 04-26-2012 08:48 AM

Customize directory set created with useradd
 
When I create a new user in Fedora 16, I get a list of directories for the new user including: Downloads, Music, Pictures, etc.

The set created is not relevant to my business environment. How do I change this behavior, that is, tell Fedora which directories to create for the new user?

Thanks,
Dave

druuna 04-27-2012 04:47 AM

Hi,

This isn't done by the useradd command. Useradd only adds what is in /etc/skel/

The first time you login (GUI!!) as the new user, Gnome creates some files and directories. Have a look at the following directory: /etc/xdg. One of the files present is user-dirs.defaults, this holds the default directories that are created.

Hope this helps.


All times are GMT -5. The time now is 07:39 PM.