Pervasive logo

Prev Getting Started with Pervasive.SQL (Server edition) Next

Pervasive.SQL Account Management on Linux


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

After Installation Behavior

Configuring 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 executables, 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 fo 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/lib:$PVSW_ROOT/bin:/usr/lib 
LD_LIBRARY_PATH=$PVSW_ROOT/lib:$PVSW_ROOT/bin:/usr/lib 
MANPATH=$MANPATH:$PVSW_ROOT/man 
BREQ=$PVSW_ROOT/lib  
 
export USERNAME BASH_ENV PATH PVSW_ROOT LD_LIBRARY_PATH 

 

Prev
Application Configuration on Linux
Contents
Up
Check for Revisions
Next
Authentication to Remote Machines Using Linux Client