PreviousGetting Started with Pervasive.SQL 9 (Server Edition) (9.1 revision 1) Next

Pervasive.SQL Account Management on Linux

Show this topic in Library frames

This section discusses information on Linux user accounts with respect to operation of Pervasive.SQL.

After Installation Behavior

The User Environment

The single environment variable $PVSW_ROOT is used to determine the location of installed components. The generic location for configuration files are $PVSW_ROOT/etc. For executable files, the location is $PVSW_ROOT/bin, and for shared libraries the location is $PVSW_ROOT/lib.

It is recommended that you add $PVSW_ROOT/bin to your PATH environment variable, and $PVSW_ROOT/lib to LD_LIBRARY_PATH as described in the following section.

Using Utilities from Users Other than psql

To use utilities from user accounts other than psql, you must first make modifications to the user account configuration. Add the following to either the profile for a specific user or to the profile that all users inherit.

/home/username/.bash_profile.
Profile for the user. Similar to the /etc/profile file but only for the current user.
Look in /home/username for this file.
/etc/profile
Default profile for all user accounts on the system. Copy the lines below into this text file if you want all user accounts on the machine to have access to Pervasive.SQL utilities.
This does not give the users administrative privileges or access to Pervasive.SQL data.

Here is an example of a modified profile:

PVSW_ROOT=/usr/local/psql 
PATH=$PATH:$PVSW_ROOT/bin:/bin:/usr/bin 
LD_LIBRARY_PATH=$PVSW_ROOT/lib:$PVSW_ROOT/bin:/usr/lib 
MANPATH=$MANPATH:$PVSW_ROOT/man 
BREQ=$PVSW_ROOT/lib 
LD_BIND_NOW=1 

Ensure that you export all variables specific to Pervasive.SQL.


Chapter contents
Publication contents

Prev topic: Finding What You Need
Next topic: Configuration