The command-line utility, sa_admin, manages users, groups, and file permissions. It is designed to run from the command line and from shell scripts in all supported operating systems.
Usage pattern
sa_admin [-a<adminUsername>] [-p<adminPassword>] [-f<filepassword>] [-1<obfuscatedPasswordFile>] [-s<serverName>] -<option>
Example 1. List all user accounts
sa_admin -aadmin -pADMIN -f"" -sFAIRCOMS -oul
-o option: action to perform
The -o flag specifies the action the sa_admin utility performs. It is required. The -o is followed directly by two or three characters, which identify the action. For example, the -oul option lists all user accounts.
Table 1. All possible actions
| Category | Option | Description |
|---|---|---|
| Account | -oua |
Add a user account |
-oud |
Change user account description | |
-oue |
Change user account extended settings | |
-oug |
Add a user to a group | |
-oul |
List user accounts | |
-oum |
Change user account memory limit | |
-oup |
Change user account password | |
-our |
Delete a user account | |
-ous |
Show user account information | |
-oux |
Remove a user from a group | |
| Group | -ofg |
Change file group |
-oga |
Add a group | |
-ogd |
Change group description | |
-ogl |
List groups | |
-ogm |
Change group memory limit | |
-ogr |
Delete a group | |
-ogs |
Show group information | |
-oug |
Add a user to a group | |
-oux |
Remove a user from a group | |
| File | -ofg |
Change file group |
-ofl |
List files matching filename | |
-oflp |
List file permissions mask | |
-ofo |
Change file owner | |
-ofp |
Change file password | |
-ofs |
Change file permissions |