Go to main content

Managing User Accounts and User Environments in Oracle® Solaris 11.3

Exit Print View

Updated: March 2017
 
 

How to Customize User Initialization Files

The following task describes how to set up customized initialization files for the user on your system.

  1. Become an administrator or a user with the User Management rights profile.
    $ su -
    Password: 
    #

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

  2. Create a skeleton directory for each type of user.
    # mkdir /shared-dir/skel/user-type
    shared-dir

    The name of a directory that is available to other systems on the network

    user-type

    The name of a directory to store initialization files for a type of user

  3. Copy the default user initialization files into the directories that you created for different types of users.
  4. Customize the user initialization files for each user type.

    For a detailed description on how to customize the user initialization files, see About the User Work Environment.

  5. Set the permissions for the user initialization files.
    # chmod 744 /shared-dir/skel/user-type/.*
  6. Verify that the permissions for the user initialization files are correct.
    # ls -la /shared-dir/skel/*