smc - start the Solaris Management Console
smc [ subcommand] [ args]
smc [ subcommand] [ args] -T tool_name [ -- tool_args]
The smc command starts the Solaris Management Console. The Solaris Management Console is a graphical user interface that provides access to Solaris system administration tools. It relies on Solaris Management Console servers running on one or more computers to perform modifications and report data. Each of these servers is a repository for code which the console can retrieve after the user of the console has authenticated himself or herself to the server.
The console can also retrieve toolboxes from the server. These toolboxes are descriptions of organized collections of tools available on that and possibly other servers. Once one of these toolboxes is loaded, the console will display it and the tools referenced in it.
The console can also run in a terminal (non-graphically), for use over remote connections or non-interactively from a script.
For information on the use of the graphical console, and for more detailed explanations of authentication, tools, and toolboxes, please refer to the Solaris Management Console online help available under the "Help" menu in the Solaris Management Console. To enable an NIS/NIS+ map to be managed from the Solaris Management Console, you must use the smc edit command to create a new toolbox for that map and enter the information about your NIS/NIS+ server where necessary. For instructions on creating a new toolbox, in the Solaris Management Console Help menu, select "Contents," then "About the Solaris Management Console Editor," then "To Create a Toolbox."
The smc subcommands are:
open
edit
The Solaris Management Console is implemented as a method that is managed by the service management facility (SMF) (see smf(5)), under the fault management resource identifier (FMRI):
svc:/application/management/wbem:default
Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M).
The configuration properties of this service can be modified with svccfg(1M).
Through svcadm, the Solaris Management Console supports the following actions:
start
stop
status
The Solaris Management Console supports an SMF property that controls remote access to WBEM-based applications, which include the Solaris Management Console. The property, options/tcp_listen, has default value of false, which disallows remote access. The value true allows remote access. See EXAMPLES.
The following options are supported. 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.
If tool_args are specified, they must be preceded by the -- option and separated from the double dashes by a space.
--auth-data 13;file
The format of file is:
hostname=host name username=user name password=password for user name rolename=role name rolepassword=password for role name
Only one set of hostname-username-password-rolename-rolepassword may be specified in any one file. If the rolename is not specified, no role will be assumed.
-B | --toolbox 13;toolbox
http://host_name:port/. . .
it must point to a host_name and port on which an Solaris Management Console server is running. If you omit port, the default port, 898, is used. This option overrides the -H option.
-D | --domain 13;domain
If you do not specify this option, the Solaris Management Console assumes the file default domain on whatever server you choose to manage, meaning 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 | --help
-H | --hostname 13;host_name:port
-Jjava_option
-l | --rolepassword 13;role_password
-p | --password 13;password
-r | --rolename 13;role_name
-s | --silent
-t
--trust
-T | --tool 13;tool_name
-u | --username 13;user_name
-v | --version
-y | --yes
Example 1 Printing a Usage Statement
The following prints a usage statement about the smc command to the terminal window:
smc --help
Example 2 Using SMF Property to Allow Remote Access
The following sequence of commands allows remote access to WBEM-based applications, including the Solaris Management Console.
# svccfg -s svc:/application/management/wbem \ setprop options/tcp_listen = true # svcadm refresh svc:/application/management/wbem
Example 3 Passing an Option to Java
The following passes an option through to the Java VM, which sets the com.example.boolean system property to true. This system property is only an example; the Solaris Management Console does not use it.
smc -J-Dcom.example.boolean=true
See environ(5) for a description of the following environment variable that affects the execution of the smc command:
JAVA_HOME
The following exit values are returned. Other error codes may be returned if you specify a tool (using -T tool_name) that has its own error codes. See the documentation for the appropriate tool.
0
1
See attributes(5) for descriptions of the following attributes:
|
auths(1), java(1), profiles(1), roles(1), smcconf(1M), svcadm(1M), svccfg(1M), attributes(5), environ(5), smf(5), X(7)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |