Chapter 10. SQL Remote Administration
SybaseCentral example Youcan add a remote user to a database using Sybase Central. Remote users
andgroups appear in two locations in Sybase Central: inthe Users &
Groupsfolder, and in the SQL Remote Users folder. This section applies
onlyto Adaptive Server Anywhere databases.
Bydefault, remote users are created with remote DBA authority. Since the
messageagent for access to the remote database requires this authority, you
shouldn’trevoke it.
Youcannot create a new remote user until at least one message type is
definedin the database.
Whileyou can grant remote permissions to a group, those remote
permissionsdo
not
automaticallyapply to users in the group (unlike table
permissions,for example). Todo this, you must explicitly grant remote
permissionsto each user in the group. Otherwise,remote groups behave
exactlylike remote users (and are categorized as remote users).
Toadd a new user to the database as a remote user (Sybase Cen-
tral)
1. In the left pane, select the SQL Remote Users folder.
2. From the File menu, choose New SQL Remote User.
TheCreate a New Remote User wizard appears.
3. Follow the instructions in the wizard.
Tomake an existing user remote (Sybase Central)
1. Open the Users & Groups folder.
2. Right-click the user you want to make remote and choose Change to
RemoteUser from the popup menu.
3. In the resulting dialog, select the message type from the list, enter an
address,choose the frequency of sending messages, and click OK to
makethe user a remote user.
Thisuser now appears in both the Users & Groups folder and the SQL
RemoteUsers folder.
AdaptiveSer ver
Anywhereexample Thefollowing statement grants remote permissions to user S_Beaulieu, with
thefollowing options:
Usean SMTP e-mail system
Sendmessages to e-mail address s_beaulieu@acme.com:
205