|
The smlog authentication arguments, auth_args, are derived from the smc(1M) arg set and are the same regardless of which
subcommand you use. The smlog command requires the Solaris Management Console to be initialized for the command to succeed (see smc(1M)). After rebooting the Solaris Management
Console server, the first Solaris Management Console connection might time out, so you might need to retry the command.
The subcommand-specific options, subcommand_args, must come after the auth_args and must be separated from them by the -- option.
auth_args
|
The valid auth_args are -D, -H, -l, -p, -r, and -u; they are all optional. If no auth_args are specified, certain defaults will be assumed and the
user may be prompted for additional information, such as a password for authentication purposes. These letter options can also be specified by their equivalent option words preceded by a double dash. For example, you can use either -D or --domain with the domain argument.
- -D | --domain domain
- Specifies the default domain that you want to manage. smlog accepts only file for this option. file is
also the default value.
The file default domain means that changes are local to the server. Toolboxes can change the domain on a tool-by-tool basis; this option specifies the domain for all other tools.
- -H | --hostname host_name:port
- Specifies the host_name and port to which you want to connect. If you do not specify a port, the system connects to the default port, 898. If you do not specify host_name:port, the Solaris Management Console connects to the local host on port 898. You may still have to choose a toolbox to load into
the console. To override this behavior, use the smc -B option (see smc(1M)), or set your console preferences to load a "home toolbox" by default.
- -l | --rolepassword role_password
- Specifies the password for the role_name. If you specify a role_name but do not specify a role_password, the system prompts you to supply a role_password. Passwords specified on the command line can be seen by any user on the system, hence this option is considered insecure.
- -p | --password password
- Specifies the password for the user_name. If you do not specify a password, the system prompts you for one. Passwords specified
on the command line can be seen by any user on the system, hence this option is considered insecure.
- -r | --rolename role_name
- Specifies a role name for authentication. If you do not specify this option, no role is assumed.
- -u | --username user_name
- Specifies the user name for authentication. If you do not specify this option, the user identity running the console process is assumed.
- --
- This option is required and must always follow the preceding options. If you do not enter the preceding options, you must still enter the -- option.
|
subcommand_args
|
Descriptions and other arg options that contain white spaces must be enclosed in double quotes.
The backup subcommand supports the following subcommand_args:
- -h
- Displays the command's usage statement.
This subcommand_arg is optional.
The delete subcommand supports the following subcommand_args
- -h
- Displays the command's usage statement.
This subcommand_arg is optional.
- -n name
- Specifies the name of the log file you want to delete.
The list subcommand supports the following subcommand_args:
- -h
- Displays the command's usage statement.
This subcommand_arg is optional.
The view subcommand supports the following subcommand_args:
- -h
- Displays the command's usage statement.
This subcommand_arg is optional.
- -n name
- Specifies the name of the log file you want to view.
- -v
- Displays the data in verbose format.
This subcommand_arg is optional.
|
|