Following are the descriptions of the users (other than root) required for LeasePak installation, configuration, and use.
The following table illustrates which accounts you will need to set up for the various types of users.
User | Default | Default Group | Unix/Linux Account |
DBMS Account |
LeasePak Account |
---|---|---|---|---|---|
database software administrator | (oracle or sybase) | (oracle or sybase) | yes | ||
DBMS server administrator | srvadm | N/A | (see below) | ||
LeasePak administrative user | lpadmin | msi | yes | yes | yes |
LeasePak client user(s) | (various) | msi | yes | yes | yes |
MSI database administrator | msidba | msi | yes | ||
MSI release administrator | msiadmin | msi | yes |
Do not create a Unix/Linux or DBMS account for this user. The LeasePak server setup program prompts for a new user name (default is srvadm) and password, then uses these to create either a login in Sybase and grant it sa privileges, or create an Oracle schema (using a default tablespace) and grant it sysdba privileges. Normally only the msiadmin and msidba users know the srvadm password.
The LeasePak environment files .lplogin and .lpprofile only need to be incorporated into the startup files of users who perform LeasePak-related tasks requiring direct access to the LeasePak server. These users typically include msiadmin and msidba, whose startup files should always point them to the administrative environment (adm_*), and lpadmin, but can also include other users as needed.
When Leasepak administrative, updates, or reports users log on the LeasePak client, the password (called the client string) they use is passed through and translated into the actual three passwords required to connect to the LeasePak server--a network password, a server OS password, and a password for the DBMS. The algorithm translating the client string always produces the same output--that is, "string" always translates to "yihnx8" and "tjgui3." MSI does not recommend using the word "string" for an actual client string.
Users logging on the LeasePak Client only know their client string unless they are explicitly given the server or DBMS password separately. Normally, only LeasePak administrative users (such as lpadmin) know their passwords for logging on the LeasePak server and DBMS server.
This password system depends on setting up the users' LeasePak server and DBMS accounts using passwords that match the translations of the client string. The following is an overview of the steps for adding a new LeasePak client user
Do not use $uexe/lpautil.exe 108 to add any user to the LeasePak security table other than the LeasePak administrative user. The $uexe/lpautil.exe 108 function provides no control in how the user is added to LeasePak security, and the LeasePak administrative user must still log on the LeasePak client in order to correctly configure a user's security.
Create user names in compliance with your company's security guidelines. Use the same user name when setting up the server and DBMS accounts.
Create client strings in compliance with your company's security guidelines. Client strings must be 6 to 8 characters long and all lowercase.
Use $uexe/lpautil.exe 112 to translate the client string
Terminal emulation: you must use one of the supported terminal types. Refer to the Terminal Emulation section of the document System Requirements for more information.
This Utility option may be used to translate a Client password into the equivalent Unix and SQL Server passwords. Do you wish to continue (Y/N)?
Type y and press Enter.
Unix and SQL Server password translation utility Instructions: Enter the Client password. The equivalent Unix and SQL Server passwords will be displayed. Enter the Client string, <RETURN> to exit:
Type the selected client string and press Enter. If type password as the client string, the terminal will display
Client string: password SQL Server string: rkqcguh4 Unix string: rrchglt1
MSI does not recommend using the word "password" as an actual client string.
Enter the Client string, <RETURN> to exit:
Press Enter to exit the utility.
You can create a text file to translate several client strings at once
y passwd1 passwd2 passwd3 passwd4
The last line of the file must be a blank line (newline character).
$uexe/lpautil.exe 112 < password.in > password.out
This Utility option may be used to translate a Client password into the equivalent Unix and SQL Server passwords. Do you wish to continue (Y/N)? y Unix and SQL Server password translation utility Instructions: Enter the Client password. The equivalent Unix and SQL Server passwords will be displayed. Enter the Client string, <RETURN> to exit: Client string: passwd1 SQL Server string: kudejz2 Unix string: stpjvq0 Enter the Client string, <RETURN> to exit: Client string: passwd2 SQL Server string: aodmbd9 Unix string: drczoy0 Enter the Client string, <RETURN> to exit: Client string: passwd3 SQL Server string: qiduth2 Unix string: cjpvty4 Enter the Client string, <RETURN> to exit: Client string: passwd4 SQL Server string: kedahf9 Unix string: bfcfsq2
(etc.)
MSI does not recommend using any of the above client string examples as actual client strings.
Follow the appropriate instructions for your OS platform to add a LeasePak user acount with the translated password. Make the LeasePak group msi the primary group for the user, and ensure that the user can write to the $HOME directory. If you assign a user's UID number manually, do not use a number greater than 32757. Contact your MSI representative for more information.
Adding LeasePak users: make msi the group for all LeasePak users, but do not add users to the msi line of the /etc/group file. Having all LeasePak users listed on this line will cause fatal errors during the LeasePak installation.
Multiple concurrent versions: if you are running more than one version of LeasePak on the same server, be sure to use the appropriate startup files (such as .lplogin and .lpprofile) with the MSI release administrator for the version you are working in. MSI strongly recommends that you set up separate, version-specific MSI release administrator users for this situation.
Use the LeasePak script db_add_login to create an account on your DBMS server
Terminal emulation: you must use one of the supported terminal types. Refer to the Terminal Emulation section of the document System Requirements for more information.
db_add_login dbms-type new-login-name [new-login-password [srvadm-password]]
where dbms-type is either ora for Oracle or syb for Sybase, new-login-name is the same user name as the server account, new-login-password is the corresponding translated password, and srvadm-password is the password for the srvadm user.
You can create a script to add several DBMS users at once
db_add_login dbms-type msitest1 kudejz2 srvadm-password db_add_login dbms-type msitest2 aodmbd9 srvadm-password db_add_login dbms-type msitest3 qiduth2 srvadm-password db_add_login dbms-type msitest4 kedahf9 srvadm-password
MSI does not recommend using any of the above user names or passwords as actual user names and passwords.
Use the LeasePak script db_add_user to grant permissions to a specific LeasePak environment and database
Terminal emulation: you must use one of the supported terminal types. Refer to the Terminal Emulation section of the document System Requirements for more information.
db_add_user environment-name legal-DBMS-user msi-access-group dbo-password
where environment-name is the specific LeasePak environment, legal-DBMS-user is the user's DBMS account user name, msi-access-group is either msi for normal read/write permissions or msir for read-only permissions, and dbo-password is the password for the dbo of the specific database (as specified during db_create.
You can create a script to add several DBMS users at once
db_add_user environment-name msitest1 msi dbo-password db_add_user environment-name msitest2 msi dbo-password db_add_user environment-name msitest3 msir dbo-password db_add_user environment-name msitest4 msi dbo-password
The user msitest3 is a reports user and will have read-only permissions for this database.
MSI does not recommend using any of the above user names as actual user names.
Do not use $uexe/lpautil.exe 108 to add any user to the LeasePak security table other than the LeasePak administrative user. The $uexe/lpautil.exe 108 function provides no control in how the user is added to LeasePak security, and the LeasePak administrative user must still log on the LeasePak client in order to correctly configure a user's security.
On the LeasePak server, the root user controls security by determining
The users msiadmin and msidba control security by determing
The following table illustrates typical password access for the various types of users:
Explicit Password Access by Account or Type | |||||
---|---|---|---|---|---|
Client String | Server | DBMS | srvadm | dbo | |
msiadmin | yes | ||||
msidba | yes | yes | yes | yes | |
lpadmin | yes | yes | yes | yes | |
LP client user | yes |
On the LeasePak client, The lpadmin user or other administrator controls the privileges of other users through the Security [U0706] update. This update configures the security records for users within a specific LeasePak environment/database--that is, each database in LeasePak contains its own distinct security table and set of records. An administrative user for one LeasePak environment/database will not have access to any other unless msiadmin gives them access to the environment and msidba grants them access to the database.
Once lpadmin sets a LeasePak client user up with an initial client string password, the user can change the client string (and the corresponding translated passwords) by using Change Password in the LeasePak Options menu. Using Change Password does not reveal the server or DBMS password to the LeasePak client user.
For more information about changing passwords on the LeasePak client, refer to the document LeasePak Basics. For more information about LeasePak client security, refer to the document Security [U0706].
LeasePak System Administration Guide
©
by McCue Systems Incorporated. All rights reserved.
The information contained in this document is the property of McCue Systems, Inc. Use of the information contained herein is restricted. Conditions of use are subject to change without notice. McCue Systems, Inc. assumes no liability for any inaccuracy that may appear in this document; the contents of this document do not constitute a promise or warranty. The software described in this document is furnished under license and may be used or copied only in accordance with the terms of said license. Unauthorized use, alteration, or reproduction of this document without the written consent of McCue Systems, Inc. is prohibited.