Find the answer to your Linux question:
Results 1 to 2 of 2
From what I understand, the directory /etc/skel/ prettymuch contains all start up files for various shells. What I don't understand about it is that when you create a new account, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319

    /etc/skel/


    From what I understand, the directory /etc/skel/ prettymuch contains all start up files for various shells. What I don't understand about it is that when you create a new account, everything is copied from this directory including other start up scripts for a user's non-native shell.

    Has this always been the case? Does the root user or the actual account user just remove those unnecessary files or is there an easier way to do it?
    The best things in life are free.

  2. #2
    Linux Engineer
    Join Date
    Apr 2003
    Location
    Sweden
    Posts
    796
    Yes what i know it has been this way for a long time, it workes pretty much the same on unix system also. The useradd command copies everything that lies in the /etc/skel directory to the users home directory.

    You can adm that to remove files from the /etc/skel directory. Only files how recides there will be copied,
    Regards

    Andutt

Posting Permissions

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