Security administration utility
Use sa_admin
to manage users, groups, and file permissions
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.
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.
sa_admin -aadmin -pADMIN -f"" -sFAIRCOMS -oul
Note
These flags should be followed directly by the parameter. No space. I.E. -pMyPassword.
Command line option | Description | Default |
---|---|---|
| System administrator user ID | Required - No default value |
| Server system file password | Defaults to no password |
| System administrator password | Required - No default value |
| Server name |
|
This section lists options, all beginning with -ou
, that allow changes to user information. Additional group and file options are also described.
Note
To use any optional entry, you must use all the previous entries even if they would otherwise be optional. For example, to add a user with the -oua
option and specify a group, you must also enter the userid
, desc
, and password
.
Option | Description |
---|---|
| Add a user account |
| Change user account description |
| Change user account extended settings |
| Add a user to a group |
| List user accounts |
| Change user account memory limit |
| Change user account password |
| Delete a user account |
| Show user account information |
| Remove a user from a group |
Note
To use any optional entry, you must use all the previous entries. For example, to specify a rule when adding a group with the -oga
option, you must also enter the desc
and memory
options for the group.
This section lists options, all beginning with -og
, allow changes to group information. Additional user and file options are described elsewhere.
Option | Description |
---|---|
| Change file group |
| Add a group |
| Change group description |
| List groups |
| Change group memory limit |
| Delete a group |
| Show group information |
| Add a user to a group |
| Remove a user from a group |
This section lists the options, all beginning with -of
, for allowing changes to file information. Additional user and group option are described elsewhere.
Option | Description |
---|---|
| Change file group |
| List files matching filename |
| List file permissions mask |
| Change file owner |
| Change file password |
| Change file permissions |
-ofs test.dat ++++++++++-----
Note
-ofs <filename> <permission> ...
sets the file permissions to the specified permissions
-ofs test.dat ownerall groupall
worldread
permission to the current file permissions and removes the groupwrite
permission from the current file permissions:Note
-ofs <filename> +|- <permission> ...
adds/removes specified permissions to/from current file permissions.
-ofs test.dat +worldread -groupwrite