Find the answer to your Linux question:
Results 1 to 3 of 3
Hi everybody, this is a simple question, but I wasn't able to do. Which is the command to create new user accounts on the system with 2 default directories inside ...
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    51

    [SOLVED] Creating users accounts

    Hi everybody,

    this is a simple question, but I wasn't able to do.

    Which is the command to create new user accounts on the system with 2 default directories inside the /home/user directory that "adduser" command create every time.

    So, when I create an account, I want that automatically the system create 2 directories inside the user's personal home.

    How can I do that without write a new script?

    Thanks!

    Aleix

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,343
    You can create the directories in /etc/skel because everytime you create a new user, the contents of /etc/skel are copied to the new users home directory.

  3. #3
    Just Joined!
    Join Date
    Jul 2006
    Posts
    51
    Thanks daark.child.

    Aleix

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •