Trusted Solaris Administrator's Procedures

To Invoke .login or .profile During Login


Note -

This procedure changes the default for all users on the host where the change is made.


  1. Assume the Security Administrator role and go to an ADMIN_LOW workspace.

  2. Use the File Manager or the command line to copy sys.dtprofile from /usr/dt/config to /etc/dt/config.

    Create the destination directory if it does not already exist.


    $ mkdir /etc/dt/config
    $ cd /usr/dt/config
    $ cp sys.dtprofile /etc/dt/config
    
  3. Use the Admin Editor action in the System_Admin folder to open the sys.dtprofile file for editing.

    See "To Edit a Local File", if needed.

  4. Remove the pound sign (#) before the DTSOURCEPROFILE variable assignment at the end of the file.

    After editing, the line should look like the following:


    DTSOURCEPROFILE=true
  5. Save and close the file.

  6. Distribute a copy of the file to every Trusted Solaris host that should have this change.

    Follow the procedure in "(Optional) Copy Network Files to the /etc Directory" in Trusted Solaris Installation and Configuration.