
| 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
- You must be logged in as user
psqlto run utilities. Userpsqlhas no password and can only be accessed through therootaccount by using thesucommand.- All Pervasive files have
user:groupownershippsql:pvsw- You must be logged in as
rootto run the start and stop scripts for the Pervasive.SQL engines.- You can run utilities on other user accounts if you add the necessary environment variables to the user
.bash_profileor system/etc/profileas described in Using Utilities from Users Other than psql.- In addition to the instructions outlined in Using Utilities from Users Other than psql, users must be a member of the group
pvswto run the following utilities:
- License Administrator utility (
clilcadm) for functions other than displaying current licenses.- Named Database Maintenance utility (
dbmaint) for functions other than displaying current databases.- Pervasive Services Registry Editor (
psregedit) for functions other than displaying the registry.- Linux client configuration (
pvclientcfg) for functions other than displaying current configuration.Configuring the User Environment
The single environment variable
$PVSW_ROOTis 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/binto yourPATHenvironment variable, and$PVSW_ROOT/libtoLD_LIBRARY_PATHas 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.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 |