|
This section begins by outlining those Pervasive.SQL 9 SP1 (9.1) tasks that require administrative-level access at the operating system level and those that do not. The section then walks you through the steps to grant a user administrative-level access for each of the supported operating systems.
Note
This section only applies to the Server engine unless otherwise noted.
Administrative-level rights are required to:
To have administrator-level access you must:
To modify a table design with Table Editor, you must have full administrator rights on the machine on which the database engine is running even if you are a member of the Pervasive_Admin group.
Note
For Linux servers, administrator-level rights can be granted only by using the btadmin utility to add users and passwords to the btpasswd file.
The Pervasive_Admin option is offered so that you can grant users administrative rights to the database engine without granting them administrative rights to the operating system where the database engine resides.
You may use one or more Pervasive_Admin groups within an Active Directory environment. See Support for Active Directory Service in Getting Started with Pervasive.SQL (Server edition) or Support for Active Directory Service in Getting Started with Pervasive.SQL (Workgroup edition).
Runtime-only access enables a user without administrator-level rights to perform such functions as:
To grant a user administrative rights, follow the instructions for your platform:
Users who are members of Pervasive_Admin or of Administrators are permitted to perform administrative tasks on the database engine.
To grant a user database administrator rights on a Windows 32-bit Server Platform
Note
You must be logged onto the Windows server as a user with full administrator-level rights on the server or be a member of the Pervasive_Admin group defined on the server.
(To add users to this group, click Add, select user name, click Add then OK.)
Note
If the Log on as setting for the Pervasive.SQL services is not System Account, see Services Settings and Log In Authority .
Certain operating system settings for the Pervasive.SQL services must be in effect for you to log in to the machine running the database engine. These settings apply whether or not you use a Pervasive_Admin user group.
The settings apply to the Pervasive.SQL Server engine and to the Workgroup engine if you are running the Workgroup engine as a service. See Running the Workgroup Engine as a Service in Getting Started with Pervasive.SQL (Workgroup edition).
By default installation, both the Transactional and Relational services set Log on to Local System Account.

If you change the Log on as setting to This account, you must change the user rights policy Act as part of the operating system for the account. Otherwise, remote login fails.
For example, the Monitoring utility requires that you log in to the operating system on the machine where the database engine is running. You will receive a message that login failed if the account specified for This account cannot act as part of the operating system.
Note that even the Administrator account requires that you set the user rights policy for Act as part of the operating system.
You specify This account on the services property sheet.

The following tasks explain how to change the user rights policy.
To Set User Rights Policy on Windows 32-bit Platforms





The user name is added to the bottom pane. For example, the following image shows that the Administrator has been added.

The user name is added to the settings for local security policy.

To grant a user database administrator rights on NetWare 4.2, 5.x or 6.x
Note
Users may not log in to Pervasive.SQL 9 SP1 (9.1) if they are in violation of any restrictions set in their NetWare user profile. These restrictions may be accessed and changed by double-clicking the user name in the NDS tree, which will bring up the Details dialog box for that user. The Login Restrictions, Login Time Restrictions and Network Address Restrictions options pages appear in the right-hand panel of the dialog box; these may be reviewed to ensure no violations are occurring.
To grant a user administrator rights on Linux
A user cannot remotely administer a server engine on Linux unless the user has first been set up as a database user with administrative rights. You can perform this task by using the btadmin utility at the server command line.
See also Pervasive.SQL Account Management on Linux in Getting Started with Pervasive.SQL (Server edition) for a complete discussion of configuring the environment for administrative rights.
psql (or as root if the PATH and LD_LIBRARY_PATH variables have been set and exported). No other user is permitted to run btadmin.btadmin -p passwd a+ user_nameFor example, if you wanted to create an administrative user "tim" with password "tim56", you would enter the following command:
btadmin -p tim56 a+ tim
Note
Users created with btadmin are not related to Linux system users. These users are known only to the database engine.
To connect to a remote Pervasive.SQL 9 SP1 (9.1) server
The password is encrypted before being sent over the network using a unique and pre-defined encryption key. The Pervasive.SQL 9 SP1 (9.1) engine unpacks and decrypts the user name and password, and verifies access. It then returns a status code to the client indicating the success or failure of the verification.
|
Chapter contents
Prev topic: Starting and Stopping the Database Engine
|