1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!--
|
---|
3 | manpage, user manual, usage: VBoxManage checkmediumpwd
|
---|
4 | -->
|
---|
5 | <!--
|
---|
6 | Copyright (C) 2006-2020 Oracle Corporation
|
---|
7 |
|
---|
8 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
9 | available from http://www.virtualbox.org. This file is free software;
|
---|
10 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
11 | General Public License (GPL) as published by the Free Software
|
---|
12 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
13 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
14 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
15 | -->
|
---|
16 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
17 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
|
---|
18 | <!ENTITY % all.entities SYSTEM "all-entities.ent">
|
---|
19 | %all.entities;
|
---|
20 | ]>
|
---|
21 | <refentry id="vboxmanage-checkmediumpwd" lang="en">
|
---|
22 | <refentryinfo>
|
---|
23 | <pubdate>$Date: 2022-08-18 17:27:14 +0000 (Thu, 18 Aug 2022) $</pubdate>
|
---|
24 | <title>VBoxManage checkmediumpwd</title>
|
---|
25 | </refentryinfo>
|
---|
26 |
|
---|
27 | <refmeta>
|
---|
28 | <refentrytitle>VBoxManage-checkmediumpwd</refentrytitle>
|
---|
29 | <manvolnum>1</manvolnum>
|
---|
30 | </refmeta>
|
---|
31 |
|
---|
32 | <refnamediv>
|
---|
33 | <refname>VBoxManage-checkmediumpwd</refname>
|
---|
34 | <refpurpose>check encryption password on a DEK-encrypted medium or a disk image</refpurpose>
|
---|
35 | <refclass>&product-name;</refclass>
|
---|
36 | </refnamediv>
|
---|
37 |
|
---|
38 | <refsynopsisdiv>
|
---|
39 | <cmdsynopsis id="synopsis-vboxmanage-checkmediumpwd">
|
---|
40 | <!-- The 'id' is mandatory and must start with 'synopsis-'. -->
|
---|
41 | <command>VBoxManage checkmediumpwd</command>
|
---|
42 | <group choice="req">
|
---|
43 | <arg choice="plain"><replaceable>uuid</replaceable></arg>
|
---|
44 | <arg choice="plain"><replaceable>filename</replaceable></arg>
|
---|
45 | </group>
|
---|
46 | <arg choice="req"><replaceable>password-file</replaceable></arg>
|
---|
47 | </cmdsynopsis>
|
---|
48 | </refsynopsisdiv>
|
---|
49 |
|
---|
50 | <refsect1>
|
---|
51 | <title>Description</title>
|
---|
52 | <para>
|
---|
53 | The <command>VBoxManage checkmediumpwd</command> command checks
|
---|
54 | the current encryption password on a DEK-encrypted medium or a
|
---|
55 | disk image. See <xref linkend="diskencryption-encryption" />.
|
---|
56 | </para>
|
---|
57 | <para>
|
---|
58 | The command response indicates if the specified password is
|
---|
59 | correct.
|
---|
60 | </para>
|
---|
61 | <variablelist>
|
---|
62 | <varlistentry>
|
---|
63 | <term><replaceable>uuid</replaceable>|<replaceable>filename</replaceable></term>
|
---|
64 | <listitem><para>
|
---|
65 | Specifies the Universally Unique Identifier (UUID) or the
|
---|
66 | absolute path name of the medium or image.
|
---|
67 | </para></listitem>
|
---|
68 | </varlistentry>
|
---|
69 | <varlistentry>
|
---|
70 | <term><replaceable>password-file</replaceable></term>
|
---|
71 | <listitem><para>
|
---|
72 | Specifies the password to check. The password
|
---|
73 | can be the absolute path name of a password file
|
---|
74 | on the host OS or the dash character (<literal>-</literal>)
|
---|
75 | to prompt you for the password on the command line.
|
---|
76 | </para></listitem>
|
---|
77 | </varlistentry>
|
---|
78 | </variablelist>
|
---|
79 | </refsect1>
|
---|
80 |
|
---|
81 | <refsect1>
|
---|
82 | <title>Examples</title>
|
---|
83 | <remark role="help-scope" condition="GLOBAL" />
|
---|
84 | <para>
|
---|
85 | The following example checks the encryption password for the
|
---|
86 | <filename>ol7u4-1.vdi</filename> disk image. The password
|
---|
87 | is contained in a file called <filename>pwfile</filename>.
|
---|
88 | </para>
|
---|
89 | <para>
|
---|
90 | The command returns a message indicating that the specified
|
---|
91 | password is correct.
|
---|
92 | </para>
|
---|
93 | <screen>$ VBoxManage checkmediumpwd "$HOME/VirtualBox VMs/ol7u4/ol7u4-1.vdi" /home/user/pwfile
|
---|
94 | The given password is correct</screen>
|
---|
95 | </refsect1>
|
---|
96 |
|
---|
97 | <refsect1>
|
---|
98 | <title>See Also</title>
|
---|
99 | <para>
|
---|
100 | <xref linkend="vboxmanage-encryptmedium" />
|
---|
101 | </para>
|
---|
102 | </refsect1>
|
---|
103 | </refentry>
|
---|