TITLE
    Network Server 500/700: User Environment Variables (4/97)
Article ID:
Created:
Modified:
20671
11/22/96
4/16/97

TOPIC


    I am trying to set environment variables unique to each user on my Network Server. I am modifying the ".profile" file for each user, but the file is never run when I log into CDE (Common Desktop Environment) so none of the variables are set in the graphical environment. However, if a user Telnet into the machine, the variables are set.


DISCUSSION


    The environment variables for CDE are stored in the ".dtprofile" file. This file is run whenever a user logs into CDE, and is stored in the users $home directory (ksh environment). The ".profile" script is only used for shell logins, such as Telnet or rlogin.

    However, you can modify your .dtprofile to envoke your .profile if you are logging in to CDE and need to set your paths from the ".profile". To modify your .dtprofile, uncomment the last line in the .dtprofile (remove the "#" from the line DTSOURCEPROFILE=true).

    Library paths will not be set, however, so you will need to modify the .dtprofile for setting these.


    Article Change History:
    16 Apr 1997 - Added section on .dtprofile

Document Information
Product Area: Computers
Category: Apple Network Server
Sub Category: Network Server 500 & 700
Keywords: "ksts, kalley"

Copyright © 2000 Apple Computer, Inc. All rights reserved.