Set up UNIX user profiles
When a user logs into UNIX, the $HOME/.profile
file for the user is executed. You can set up each user's $HOME/.profile
in different ways in order to control which
Environment users access. These ways include but are not limited to
the following.
-
You can set the
$HOME/.profile
file to point to the$LAWDIR/system/profile
file. The$LAWDIR/system/profile
file, which is created during the Infor Lawson Core Technology installation process, refers to/etc/lawson.env
. -
If you have only one Lawson Environment, you can set the
$HOME/.profile
file to execute the. cv
command. This command uses the/etc/lawson.env
file as its source file for environment variable settings.- or -
-
If you have multiple Lawson Environments, you can set the
$HOME/.profile
file to execute the. cv
command with a parameter for a specific Environment (that is, ". cv
EnvironmentName" instead of ". cv
"). In this case, the user initially accesses the specified Environment.
The Active and Default Environments
Environments defined as "Active" in the _Global
section of the /etc/lawson.env
file
are available for scrolling through the Change Environment command
(. cv
). If needed, you can change the list of active
Environments. This might be necessary if you added a new Environment
and wanted it to become the default for all users.
You can override specific defaults for an individual user through
the user's .profile
or .login
.