Managing User Accounts and User Environments in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

How to Customize User Initialization Files

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

  1. Assume the root role or a role that has the User Management rights profile.
    $ su -
    Password: 
    #

    See Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  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 the ways to customize the user initialization files, see About the User's 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/*