HP-UX AAA Server A.08.01 administrator's guide (T1428-90072, May 2010)

Table Of Contents
SQL> @ /tmp/dbsetup.sql.dynauth_server_group
For MySQL, enter the following command at the mysql prompt:
mysql> source /tmp/dbsetup.sql.dynauth_server_group
3. Copy sqlaccess.config.
For Oracle, enter the following command at the prompt:
$ cp /opt/aaa/examples/sqlaccess/oracle-1/sqlaccess.config
/etc/opt/aaa/sqlaccess.config
For MySQL, enter the following command at the prompt:
$ cp /opt/aaa/examples/sqlaccess/mysql-1/sqlaccess.config
/etc/opt/aaa/sqlaccess.config
4. Configure the Database Connection (DBID) section in /etc/opt/aaa/
sqlaccess.config.
For Oracle — In the Database Connection (DBID) section of
sqlaccess.config file, replace <aaaoracleuser>,
<aaaoracleuserpassword>, <hostname>, <port>, and <SID> ,
with the Oracle username, password, hostname on which database is installed,
database server port number, and OracleSID.
For MySQL — In the Database Connection (DBID) section of the
sqlaccess.config file, replace the variables <mysqlaaauser> and
<mysqlaaauserpassword> with the MySQL username and password, and
set ODBCDatastore to the ODBC Data Source.
5. Append the required SQLActions after replacing <groupname> with the name of
the group.
For Oracle, enter the following command at the prompt:
$ sed "s/<groupname>/test_group/g"
/opt/aaa/examples/sqlaccess/oracle-1/sqlaccess.config.dynauth_server_group
>> /etc/opt/aaa/sqlaccess.config
For MySQL, enter the following command at the prompt:
$ sed "s/<groupname>/test_group/g"
/opt/aaa/examples/sqlaccess/mysql-1/sqlaccess.config.dynauth_server_group
>> /etc/opt/aaa/sqlaccess.config
6. Copy the required policy files. Enter the following commands at the HP-UX prompt:
$ cp
/opt/aaa/examples/config/client-request-init.grp.dynauth
/etc/opt/aaa/client-request-init.grp
$ cp
/opt/aaa/examples/config/client-reply-ingress.grp.dynauth
/etc/opt/aaa/client-reply-ingress.grp
312 Configuring the HP-UX AAA Server for Dynamic Authorization