Installing and Managing HP-UX Virtual Partitions (includes A.03.03)

Primary-Admin vPars Security (vPars A.03.03)
Example HP-UX Shell Scenario (vparadmin)
Chapter 8
226
winona1# vparadmin -d winona2
Password:
Virtual partition winona2 deleted from Primary-Admin vPars list.
Listing the Virtual Partitions in the Primary-admin Virtual Partition List
We can verify that winona2 has been removed from the primary-admin virtual partition list. This can be
performed from any partition.
winona1# vparadmin -l
---------- Primary-Admin vPars ----------
winona1
Only winona1 is displayed as a primary-admin virtual partition. Since winona2 (and winona3) are not in the
list, they are not primary-admin virtual partitions.
Changing the Security Password
We can change the security password with the vparadmin -C command. Note that there is no -C option in the
monadmin command, although you will be asked for a new password when you set the mode from OFF to ON.
The vparadmin -C command can be executed from any virtual partition; you will need to know the old
password to be able to change the password.
winona2# # vparadmin -C
Old password:
New password:
Re-enter new password:
Passwd successfully changed
Determining if you are in the vPars Secure Environment
The easiest method to determine whether the security mode is ON is to use the vparadmin command.
When you are not in secure mode, you will receive the “Non-secure” message:
# vparadmin
Non-secure virtual partition environment.
When you are in secure mode, you will receive the “Secure” message:
# vparadmin
Secure virtual partition environment.