1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
3 <refentry id="regshell.1">
6 <refentrytitle>regshell</refentrytitle>
7 <manvolnum>1</manvolnum>
8 <refmiscinfo class="source">Samba</refmiscinfo>
9 <refmiscinfo class="manual">System Administration tools</refmiscinfo>
10 <refmiscinfo class="version">4.0</refmiscinfo>
15 <refname>regshell</refname>
16 <refpurpose>Windows registry file browser using readline</refpurpose>
21 <command>regshell</command>
22 <arg choice="opt">--help</arg>
23 <arg choice="opt">--backend=BACKEND</arg>
24 <arg choice="opt">--credentials=CREDENTIALS</arg>
25 <arg choice="opt">location</arg>
30 <title>DESCRIPTION</title>
33 regshell is a utility that lets you browse thru a Windows registry
34 file as if you were using a regular unix shell to browse thru a
42 <title>OPTIONS</title>
48 Show list of available options.</para></listitem>
52 <term>--backend BACKEND</term>
53 <listitem><para>Name of backend to load. Possible values are:
54 creg, regf, dir and rpc. The default is <emphasis>dir</emphasis>.
59 <term>--credentials=CREDENTIALS</term>
61 Credentials to use, if any. Password should be separated from user name by a percent sign.</para></listitem>
67 <title>COMMANDS</title>
71 <term>ck|cd <keyname></term>
73 Go to the specified subkey.
78 <term>ch|predef [predefined-key-name]</term>
80 Go to the specified predefined key.
87 List subkeys and values of the current key.
92 <term>mkkey|mkdir <keyname></term>
94 Create a key with the specified <replaceable>keyname</replaceable> as a subkey of the current key.
99 <term>rmval|rm <valname></term>
101 Delete the specified value.
106 <term>rmkey|rmdir <keyname></term>
108 Delete the specified subkey recursively.
114 <listitem><para>Print the full name of the current key.</para></listitem>
118 <term>set|update</term>
119 <listitem><para>Update the value of a key value. Not implemented at the moment.</para></listitem>
124 <listitem><para>Print a list of available commands.</para></listitem>
127 <term>exit|quit</term>
128 <listitem><para>Leave regshell.</para></listitem>
134 <title>EXAMPLES</title>
136 <para>Browsing thru a nt4 registry file</para>
138 <userinput>regshell -b nt4 NTUSER.DAT</userinput>
139 $$$PROTO.HIV> <userinput>ls</userinput>
149 K UNICODE Program Groups
150 K Windows 3.1 Migration Status
151 $$$PROTO.HIV> <userinput>exit</userinput>
154 <para>Listing the subkeys of HKEY_CURRENT_USER\AppEvents on a remote computer:</para>
156 <userinput>regshell --remote=ncacn_np:aurelia -c "jelmer%secret"</userinput>
157 HKEY_CURRENT_MACHINE> <userinput>predef HKEY_CURRENT_USER</userinput>
158 HKEY_CURRENT_USER> <userinput>cd AppEvents</userinput>
159 Current path is: HKEY_CURRENT_USER\AppEvents
160 HKEY_CURRENT_USER\AppEvents> <userinput>ls</userinput>
163 HKEY_CURRENT_USER\AppEvents> <userinput>exit</userinput>
168 <title>VERSION</title>
170 <para>This man page is correct for version 4.0 of the Samba suite.</para>
174 <title>SEE ALSO</title>
176 <para>regtree, regdiff, regpatch, gregedit, samba</para>
181 <title>AUTHOR</title>
183 <para>This utility is part of the <ulink url="http://www.samba.org/">Samba</ulink> suite, which is developed by the global <ulink url="http://www.samba.org/samba/team/">Samba Team</ulink>.</para>
185 <para>This manpage and regshell were written by Jelmer Vernooij. </para>