The SPD
Server administrator needs a UNIX login ID on the SPD Server machine.
Other SPD Server users do not need UNIX login IDs. You can control
their access to SPD Server data resources using the SPD Server password
facility without giving them specific login accounts. This adds a
measure of security and control and SPD Server users are permitted
physical access to the SPD Server machine.
You should
add the
InstallDir/bin
directory to
your PATH using your shell's login script. ksh users should modify
.profile or .kshrc files. csh users should modify .login or .cshrc
files, depending on where they currently set the PATH environment
variable. This makes invoking the various SPD Server utility programs
much easier.
SAS recommends
that you run your SPD Server environment using the same UNIX user
ID that was used to install SPD Server on the server machine. The
user ID should also be the SPD Server administrator's user ID. The
common user ID minimizes potential problems with file ownership and
system access permissions on the server machine. You add SPD Server
access controls to the resources created with SPD Server by using
SPD Server user IDs and SPD Server ACLs. The SPD Server user IDs and
ACLs provide fine-grained access controls to the SPD Server data resources.
Regardless
of how the SPD Server run-time environment is configured, SPD Server
processes always run with some UNIX user ID. That UNIX user ID owns
all of the files that the SPD Server process creates. The UNIX user
ID is governed by UNIX file access permissions. Remember this when
starting SPD Server processes and running SPD Server administrator
utilities! Otherwise, it is possible to create files with ownership
and permissions that deny required access to the SPD Server processes.
Performing all SPD Server installation and administration tasks from
the same UNIX user ID makes subsequent SPD Server use much easier.
Here are
some options for establishing the appropriate UNIX user ID for your
SPD Server processes:
Establish
a dedicated UNIX account for the SPD Server administrator. Always
execute the rc.spds script from that account.
The rc.spds
script that starts the SPD Server processes should use the setuid
bit. It does not matter who executes the script, the user ID of the
shell executing the script is the script owner. This ensures that
SPD Server processes run with the correct UNIX user ID.
At system
startup, use the UNIX
su
command to establish
the proper UNIX user ID for the shell that executes the rc.spds script.
To start the environment manually, you must enter the password for
each UNIX account in your
su
command, unless
you are root when you execute the
su
command.