|
Description |
This program takes the tedium out of creating scripts which grant or |
|
Syntax |
psSetPermissions -Sserver -Ulogin_username -Ppassword -Ddatabase |
|
-S |
Sybase Server Name |
|
-U |
Sybase User Name |
|
-P |
Sybase User's Password |
|
-D |
Sybase Database |
|
-C |
Security Configuration File |
|
-N |
Database User or Group Name |
|
-W |
Owner of Target Objects |
|
-F |
Output Korn Shell script |
|
-O |
Options |
|
s |
Stop if I find an object or user which does not exist in the database. |
|
r |
Revoke permissions first |
|
x |
Grant read permissions on all tables and views. Grant execute on every stored procedure. |
|
a |
Grant all permissions on all objects. This option only used when you do not use -C. |
|
DSQUERY |
When -S is not specified |
|
SYB_USER |
When -U is not specified |
|
SYB_PASS |
When -P is not specified |
|
SYB_DATABASE |
When -D is not specified |
|
PS_SYSMSG_FILE |
Name of the tool's messages file |
|
Notes |
If you do not specify a security configuration file, I look at the -N and -W |
|
arguments |
I grant 'select' permission on all objects owned by -W to the user -N. |
Go to DBPowerSuite 7.9 List of Programs.
Updated: Thu Jun 18 21:12:26 2009