12 command line interface configuration, Anonymous access, Display current settings (windows and linux only) – HP System Management Homepage-Software User Manual

Page 58: Local access

Advertising
background image

12 Command Line Interface configuration

The Command Line Interface (CLI) provides users with administrative rights access to set these
values through the command line. You can use the CLI to modify configuration options, including
the required security checks that allow the configuration options to be changed.

NOTE:

--kerberos, --user-kerberos, --operator-kerberos, --admin-kerberos, --max-threads and

--win32-disable-acceptex options are only available on Windows operating systems.

NOTE:

Long options, starting with "--", have an optional symbol "=" before the argument.

Some CLI options require special arguments listed as words in capital letters in the option summary
of the command. Descriptions of the format of these arguments are in the following table:

Table 7 CLI arguments

Description

Argument type

A path to a directory where the HP SMH service has write access.

DIR

A path to a file.

FILE

A list of group names separated by semicolons.

GROUPLIST

A list of IPv6 addresses and/or IPv4 address/netmask pairs separated by semicolons.

IPBINDLIST

A list of IP addresses separated by semicolons.

IPLIST

A numeric value with a range that depends on the option being set.

NUM

A list of host names and IP addresses separated by semicolons.

NAMELIST

A list of trusted server host names.

XENAMELIST

Anonymous Access

Anonymous access allows anonymous users to access unsecured pages, including local anonymous
access. The following command enables or disables the anonymous access setting:

smhconfig -a|--anonymous-access[=] True | False

Display Current Settings (Windows and Linux only)

The smhconfig CLI command is used to modify the various HP SMH settings. However, the only
way to view the current settings is through the browser. A new option is introduced in smhconfig
as“—V ” or “—display -current-settings” which displays the current settings of SMH.

To view the current HP SMH settings, run the following command:

smhconfig -V|--display-current-settings

NOTE:

smhconfig -V|--display-current-settings

command displays value as "NULL"

if no HP SMH settings are set.

Local Access

The local access command sets the local access privilege to anonymous or administrator, applying
the specified access to the local system. If local access is selected, a user with access to the local
console is granted anonymous or administrator access without being challenged for a username
and password.

The following command enables or disables local access:

smhconfig -L|--localaccess-enabled[=] True | False

58

Command Line Interface configuration

Advertising