Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Depending on which Solaris release you are running, change the selected property value as follows:
If you are running at least the Solaris 10 11/06 release, use this command:
# wcadmin add -p -a console name=value |
Specifies that the object type is a property.
Specifies that the property changes are for the application named console. The -a console option must always be used when you are changing console properties.
Specifies the property name and the new value for that property.
If you are not running at least the Solaris Express 5/06 release, use this command:
# smreg add -p -c name |
(Optional) Reset a console property to its default value.
If you are running at least the Solaris 10 11/06 release, use this command:
# wcadmin remove -p -a console name=value |
If you are not running at least the Solaris Express 5/06 release, use this command:
# smreg remove -p -c name |
Specifies that the object type is a property.
Specifies that the property changes are for the console application. The -c option must always be used when you are changing console properties.
Specifies the property name and the new value for that property.
This example shows how to set the session time out value to 5 minutes.
# wcadmin add -p -a console session.timeout.value=5 |
This example shows you how to set the logging level to all.
# wcadmin add -p -a console logging.default.level=all |
This example shows how to reset the logging level to the default.
# wcadmin remove -p -a console logging.default.level |
This example shows how to set the Java version for the console.
# wcadmin add -p -a console java.home=/usr/java |
This example shows you how to set the auditing implementation to None.
# wcadmin add -p -a console audit.default.type=None |
The valid auditing types are:
No auditing
Audit messages to syslog
Audit messages to BSM