Go to main content

Managing User Accounts and User Environments in Oracle® Solaris 11.4

Exit Print View

Updated: August 2021

How to Customize User Initialization Files

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

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

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

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

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


    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 an overview, 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/*