HP-UX HB v13.00 Ch-18 - HPVM
HP-UX Handbook – Rev 13.00 Page 30 (of 49)
Chapter 18 Integrity Virtual Machines (HPVM)
October 29, 2013
hpvmconsole
Integrity VM virtual machine console is similar in appearance to the maintenance processor of an
Integrity System. Each virtual machine can be powered on or off, the guest operating system can
be booted or shut down, and so forth. The hpvmconsole command connects to the virtual console
of a specified machine.
Using Ctrl+B you can return to the virtual console main menu except if you have logged into the
physical console of an VM Host and then run hpvmconsole interactively. In that case you should
use Ctrl+X.
Integrity VM provides secure access to guest consoles. When you create the guest, you can
specify the group account or user account that will have guest administration privileges. These
users are allowed to log on to the guest under their own user accounts and use the hpvmconsole
command to perform system administration tasks on the guest virtual machine.
There are two types of console users: admin and oper. Use the hpvmcreate, hpvmmodify, and
hpvmclone commands with the -g and -u options to assign admin and oper privileges. Guest
operators and administrators need access to the hpvmconsole command to control the virtual
machine.
If you do not want the same user to have access to the VM Host, you can restrict their use of the
hpvmconsole command to guest console access only by creating a restricted account for that
purpose, as follows:
1. Using the useradd command, set up an /etc/passwd entry for each guest on the
VMHost. The user name of the account must be the same as the guest name and must
have no more than eight characters. For example:
# useradd -d /var/opt/hpvm/guests/vmguest1 -c 'vmguest1 console' \
-s /opt/hpvm/bin/hpvmconsole vmguest1
In this example, the following options are used:
-d specifies the home directory for the guest1 account.
-c specifies a comment text string that describes the account.
-s specifies the path for the shell of the new account.
2. Use the passwd command to set a password for the account. For example:
# passwd vmguest1