Previous Topic

Next Topic

sa_admin - The command line system administrator utility

The command line version of the system administrator program, sa_admin, can be used to perform operations from shell scripts.

sa_admin [-a<adminuserid>] [-p<adminpassword>]  [-f<filepassword>] [-s<servername>] <option>

option is one of the following:

Options Users

  • -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

Options 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

Options File

  • -ofg Change file group
  • -ofl List files matching filename
  • -ofo Change file owner
  • -ofp Change file password
  • -ofs Change file permissions

Wildcard specifiers with sa_admin

The security admin utility, sa_admin, -ofp, -ofs, -ofg, and -ofo options support specifying filenames with wildcard characters. When one of these options specifies a filename that includes ? or * characters, the utility retrieves a list of files matching the filename wildcard specifier and executes the specified command for each file.

Retrieve a List of Filenames from the Server with sa_admin

-ofl (list files) is used to list the files on the c-treeACE Server system matching the specified filename including wildcard characters.

sa_admin Support for Encrypted Password Files

The sa_admin utility supports the use of an encrypted password file. Encrypted password files are created with the ctcmdset utility and keep user IDs and passwords from plain view within script files. An encrypted password file name is specified using the command-line option:

-1 <filename>