UNIX onlyStarting Reality Automatically
The file .profile which is automatically run at UNIX login can contain the line:
exec reality
If this is done, the user is automatically taken into Reality when they log on to the UNIX system (see the description of the reality command) and when they log off from Reality they are disconnected from the UNIX system. Using .profile in this way therefore by-passes the UNIX command line entirely.
You can use the user's .realityrc file to set environment variables that specify the database, user-id and account used, together with any passwords.
Example
Assuming that a UNIX user-id of fred exists with the home directory /usr/fred,
-
Create a file /usr/fred/.realityrc and enter the following:
REALDBASE=/user0/Reality/DB01
REALUSER=BLOGGS,SECRET
REALACC=PROGS -
Ensure that UNIX permissions on the file are adequate to protect it from other users.
-
If it does not already exist, create a file /usr/fred/.profile and enter:
exec reality
When fred logs onto the UNIX system, the Reality database specified in /usr/fred/.realityrc is automatically entered and fred is logged on with Reality user-id BLOGGS and Reality account PROGS.
Note
See Administration from Reality for further details of customisation of Reality logons using logon programs.