<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!ENTITY metainfo SYSTEM "metainfo.sgm">
<!ENTITY Software "J2EE SDK 1.4">
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY Dash "&ndash;">
]>
<?Pub UDT _bookmark _target>
<?Pub EntList brvbar bull cross dash diam diams frac12 frac13 frac14 hellip
 laquo lArr loz mdash nabla ndash para pound rArr raquo sect yen ne>
<?Pub Inc>
<refentry id="update-file-user-1"><?Pub Caret>
<refmeta><refentrytitle>update-file-user</refentrytitle><manvolnum>1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="update-file-user">update-file-user &mdash;
updates a current file user as specified</primary></indexterm><indexterm>
<primary sortas="updates a current file user as specified">updates a current
file user as specified &mdash; update-file-user</primary></indexterm><refname>
update-file-user</refname><refpurpose>updates a current file user as specified
</refpurpose></refnamediv>
<refsynopsisdiv><title>SYNOPSIS</title>
<cmdsynopsis><command><command>update-file-user</command></command>&synopsis-common;
<arg choice="opt">&Dash;&Dash;groups <replaceable>user_groups[:</replaceable><replaceable>
user_groups]</replaceable>*</arg><arg choice="opt">&Dash;&Dash;authrealmname <replaceable>
authrealm_name</replaceable></arg><arg choice="opt">&Dash;&Dash;target <replaceable>
target</replaceable></arg><arg choice="plain"><replaceable>username</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>DESCRIPTION</title>
<para>This command updates an existing entry in the keyfile using the specified
user name, password and groups. Multiple groups can be entered by separating
them, with a colon (:)</para>
</refsect1>
<refsect1><title>OPTIONS</title>
<variablelist termlength="medium">&options-common;
<varlistentry><term><option role="nodash">&Dash;&Dash;groups</option></term>
<listitem><para>This is the name of the group to which the file user belongs.
</para>
</listitem></varlistentry>
<varlistentry><term><option role="nodash">&Dash;&Dash;authrealmname</option></term>
<listitem><para>This is the file where the user may have different stores
for file auth realm.</para>
</listitem></varlistentry>
<varlistentry><term><option role="nodash">&Dash;&Dash;target</option></term>
<listitem><para>This option helps specify the target on which you are updating
a file user. Valid values are: <itemizedlist>
<listitem><para><literal>server</literal>, which updates the file user in
the default server instance. This is the default value.</para>
</listitem>
<listitem><para><replaceable>cluster_name</replaceable>, which updates the
file user on every server instance in the cluster.</para>
</listitem>
<listitem><para><replaceable>instance_name</replaceable>, which updates the
file user on a specified sever instance.</para>
</listitem>
</itemizedlist></para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>OPERANDS</title>
<variablelist termlength="medium">
<varlistentry><term><replaceable>username</replaceable></term><listitem><para>
This is the name of the file user to be updated.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>EXAMPLES</title>
<example>
<title>Using the update-file-user command</title>
<screen>asadmin> <userinput>update-file-user --user admin1 --passwordfile passwords.txt 
--host pigeon --port 5001 --groups staff:manager:engineer sample_user</userinput>
Command update-file-user executed successfully</screen>
<para>Where sample_user is the file  user  for whom the groups and the user
name are updated.</para>
</example>
</refsect1>
<refsect1><title>EXIT STATUS</title>
<variablelist termlength="medium">
<varlistentry><term>0</term><listitem><para>command executed successfully
</para>
</listitem></varlistentry>
<varlistentry><term>1</term><listitem><para>error in executing the command
</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&also-tt;</title>
<para><link linkend="delete-file-user-1"><citerefentry><refentrytitle>delete-file-user
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, <link linkend="list-file-users-1"><citerefentry>
<refentrytitle>list-file-users</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, <link
linkend="create-file-user-1"><citerefentry><refentrytitle>create-file-user
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, <link linkend="list-file-groups-1"><citerefentry>
<refentrytitle>list-file-groups</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000004857>
