Displaying current logins  Changing user passwords and logins

Chapter 5: Configuring a TRS Library for Security

Adding a login

To add a login definition to TRS, use this procedure:

exec sgw_addlog login, pwd, HOST_LOGIN,
  HOST_PWD, tran_group, con_group, gwctrl

where:

Example

To add the user named BERTHA to an LU 6.2 TRS, use the sgw_addlog procedure:

exec sgw_addlog bertha, BIGBLUE, BIG, BLEUBRT, TGROUP1, FINANCE, yes 

go

This isql example adds TRS user named BERTHA with a password of BIGBLUE, and a host login and password of BIG and BLEUBRT, respectively. BERTHA can use RPCs defined to the transaction group named TGROUP1, and connections included in the connection group named FINANCE. BERTHA has permission to administer TRS.





Copyright © 2005. Sybase Inc. All rights reserved. Changing user passwords and logins

View this book as PDF