------=_Part_17769223_116976987.1416913536254
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
----- Original Message -----
From: "Yaniv Dary" <ydary(a)redhat.com>
To: "=E5=BC=A0=E4=BA=9A=E7=90=AA" <zhangyingyun001(a)gmail.com>
Cc: "users" <users(a)ovirt.org>
Sent: Tuesday, November 25, 2014 1:01:31 PM
Subject: Re: [ovirt-users] How to update the password of reports portal?
Correction:=20
Create a temporary export directory
# mkdir -p /tmp/reports-users
Change to jasper scripts directory
# cd /usr/share/jasperreports-server/buildomatic
Export environment variables
# export ADDITIONAL_CONFIG_DIR=3D/var/lib/ovirt-engine- reports /build-co=
nf
Export users from jasper reports metadata to temporary directory
created =
in
step-1
# ./js-export.sh --output-dir /tmp/ reports -users/ --users
Edit exported user detail XML files,
UPDATE THE EXISTING ENCRYPTED PASSWORD with NEW PASSWORD in CLEAR
TEXT, i=
t
will be encrypted back during import
# vim /tmp/ reports -users/users/superuser.xml
# vim /tmp/ reports -users/users/organization_1/admin.xml
Import the user data back to reports metadata
# ./js-import.sh --input-dir /tmp/ reports -users/ --update
Try and login on reports portal to verify the password change
----- Original Message -----
> From: "=E5=BC=A0=E4=BA=9A=E7=90=AA"
<zhangyingyun001(a)gmail.com>
=20
> To: "Yaniv Dary" <ydary(a)redhat.com>
=20
> Sent: Tuesday, November 25, 2014 12:56:04 PM
=20
> Subject: How to update the password of reports portal?
=20
> Hi, Yaniv:
=20
> Would you tell me how to reset the reports portal password on
the comma=
nd
> line?
=20
> Thanks a lot!
=20
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
------=_Part_17769223_116976987.1416913536254
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"font-family: Arial; font-size: 10pt; color:
#0000=
00"><br><div><br></div><hr
id=3D"zwchr"><blockquote style=3D"border-left:2p=
x solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:nor=
mal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans=
-serif;font-size:12pt;"><b>From: </b>"Yaniv Dary"
&lt;ydary(a)redhat.com&gt;<=
br><b>To: </b>"=E5=BC=A0=E4=BA=9A=E7=90=AA"
&lt;zhangyingyun001(a)gmail.com&g=
t;<br><b>Cc: </b>"users"
&lt;users(a)ovirt.org&gt;<br><b>Sent: </b>Tuesday, N=
ovember 25, 2014 1:01:31 PM<br><b>Subject: </b>Re: [ovirt-users] How to
upd=
ate the password of reports
portal?</blockquote><div><br></div><div>Correct=
ion:</div><blockquote style=3D"border-left:2px solid
#1010FF;margin-left:5p=
x;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-dec=
oration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><br><d=
iv><br></div><div style=3D"font-family: Arial; font-size: 10pt;
color: #000=
000"><div><span style=3D"color: #333333; font-family: monospace;
font-size:=
13.63636302948px; background-color: #fdfdfd;"><span style=3D"color:
#33333=
3; font-family: monospace; font-size: 13.63636302948px; background-color: #=
fdfdfd;">Create a temporary export directory</span><br
style=3D"font-size: =
13.63636302948px; color: #333333; font-family: monospace;"><span
style=3D"c=
olor: #333333; font-family: monospace; font-size: 13.63636302948px; backgro=
und-color: #fdfdfd;"> # mkdir -p
/tmp/reports-users</span><br =
style=3D"font-size: 13.63636302948px; color: #333333; font-family: monospac=
e;"><span style=3D"color: #333333; font-family: monospace; font-size:
13.63=
636302948px; background-color: #fdfdfd;"> </span><br
style=3D"font-siz=
e: 13.63636302948px; color: #333333; font-family: monospace;"><span style=
=3D"color: #333333; font-family: monospace; font-size: 13.63636302948px; ba=
ckground-color: #fdfdfd;">Change to jasper scripts directory</span><br
styl=
e=3D"font-size: 13.63636302948px; color: #333333; font-family: monospace;">=
<span style=3D"color: #333333; font-family: monospace; font-size: 13.636363=
02948px; background-color: #fdfdfd;"> # cd
/usr/share/ja=
sperreports-server/buildomatic</span></span></div><div><br></div><div><span=
style=3D"color: #333333; font-family: monospace; font-size: 13.63636302948=
px; background-color: #fdfdfd;">Export environment variables</span><br
styl=
e=3D"font-size: 13.63636302948px; color: #333333; font-family: monospace;">=
<span style=3D"color: #333333; font-family: monospace; font-size: 13.636363=
02948px; background-color: #fdfdfd;"># export ADDITIONAL_CONFIG_DIR=3D/var/=
lib/ovirt-engine-</span><span id=3D"DWT35843"
class=3D"ZmSearchResult" styl=
e=3D"font-size: 13.63636302948px; color: #333333; font-family: monospace; b=
ackground-color: #fffec4;"><span id=3D"DWT35845"
class=3D"ZmSearchResult" s=
tyle=3D"font-size: 10pt;">reports</span></span><span
style=3D"color: #33333=
3; font-family: monospace; font-size: 13.63636302948px; background-color: #=
fdfdfd;">/build-conf</span><br style=3D"font-size: 13.63636302948px;
color:=
#333333; font-family: monospace;"><span style=3D"color: #333333;
font-fami=
ly: monospace; font-size: 13.63636302948px; background-color: #fdfdfd;">&nb=
sp;</span><br style=3D"font-size: 13.63636302948px; color: #333333;
font-fa=
mily: monospace;"><span style=3D"color: #333333; font-family: monospace;
fo=
nt-size: 13.63636302948px; background-color: #fdfdfd;">Export users from ja=
sper </span><span id=3D"DWT35847"
class=3D"ZmSearchResult" style=3D"fo=
nt-size: 13.63636302948px; color: #333333; font-family: monospace; backgrou=
nd-color: #fffec4;"><span id=3D"DWT35849"
class=3D"ZmSearchResult" style=3D=
"font-size: 10pt;">reports</span></span><span
style=3D"color: #333333; font=
-family: monospace; font-size: 13.63636302948px; background-color: #fdfdfd;=
"> </span><span style=3D"color: #333333; font-family:
monospace; font-=
size: 13.63636302948px; background-color: #fdfdfd;">metadata to temporary d=
irectory created in</span><br style=3D"font-size: 13.63636302948px; color:
=
#333333; font-family: monospace;"><span style=3D"color: #333333;
font-famil=
y: monospace; font-size: 13.63636302948px; background-color: #fdfdfd;">step=
-1</span><br style=3D"font-size: 13.63636302948px; color: #333333;
font-fam=
ily: monospace;"><span style=3D"color: #333333; font-family: monospace;
fon=
t-size: 13.63636302948px; background-color: #fdfdfd;"> #
./js-=
export.sh --output-dir /tmp/</span><span id=3D"DWT35851"
class=3D"ZmSearchR=
esult" style=3D"font-size: 13.63636302948px; color: #333333; font-family: m=
onospace; background-color: #fffec4;"><span id=3D"DWT35853"
class=3D"ZmSear=
chResult" style=3D"font-size:
10pt;">reports</span></span><span style=3D"co=
lor: #333333; font-family: monospace; font-size: 13.63636302948px; backgrou=
nd-color: #fdfdfd;">-users/ --users</span><br style=3D"font-size:
13.636363=
02948px; color: #333333; font-family: monospace;"><br style=3D"font-size:
1=
3.63636302948px; color: #333333; font-family: monospace;"><span
style=3D"co=
lor: #333333; font-family: monospace; font-size: 13.63636302948px; backgrou=
nd-color: #fdfdfd;">Edit exported user detail XML files,</span><br
style=3D=
"font-size: 13.63636302948px; color: #333333; font-family: monospace;"><br
=
style=3D"font-size: 13.63636302948px; color: #333333; font-family: monospac=
e;"><span style=3D"color: #333333; font-family: monospace; font-size:
13.63=
636302948px; background-color: #fdfdfd;">UPDATE THE EXISTING ENCRYPTED =
;</span><span id=3D"DWT35855" class=3D"ZmSearchResult"
style=3D"font-size: =
13.63636302948px; color: #333333; font-family: monospace; background-color:=
#fffec4;"><span id=3D"DWT35859" class=3D"ZmSearchResult"
style=3D"font-siz=
e: 10pt;">PASSWORD</span></span><span style=3D"color: #333333;
font-family:=
monospace; font-size: 13.63636302948px; background-color: #fdfdfd;"> =
</span><span style=3D"color: #333333; font-family: monospace; font-size:
13=
.63636302948px; background-color: #fdfdfd;">with NEW</span><span
style=3D"c=
olor: #333333; font-family: monospace; font-size: 13.63636302948px; backgro=
und-color: #fdfdfd;"> </span><span id=3D"DWT35857"
class=3D"ZmSearchRe=
sult" style=3D"font-size: 13.63636302948px; color: #333333; font-family: mo=
nospace; background-color: #fffec4;"><span id=3D"DWT35861"
class=3D"ZmSearc=
hResult" style=3D"font-size:
10pt;">PASSWORD</span></span><span style=3D"co=
lor: #333333; font-family: monospace; font-size: 13.63636302948px; backgrou=
nd-color: #fdfdfd;"> </span><span style=3D"color: #333333;
font-family=
: monospace; font-size: 13.63636302948px; background-color: #fdfdfd;">in CL=
EAR TEXT, it</span><br style=3D"font-size: 13.63636302948px; color:
#333333=
; font-family: monospace;"><span style=3D"color: #333333; font-family:
mono=
space; font-size: 13.63636302948px; background-color: #fdfdfd;">will be enc=
rypted back during import</span><br style=3D"font-size: 13.63636302948px;
c=
olor: #333333; font-family: monospace;"><br style=3D"font-size:
13.63636302=
948px; color: #333333; font-family: monospace;"><span style=3D"color:
#3333=
33; font-family: monospace; font-size: 13.63636302948px; background-color: =
#fdfdfd;"> # vim /tmp/</span><span
id=3D"DWT35863" class=3D"Zm=
SearchResult" style=3D"font-size: 13.63636302948px; color: #333333; font-fa=
mily: monospace; background-color: #fffec4;"><span id=3D"DWT35865"
class=3D=
"ZmSearchResult" style=3D"font-size:
10pt;">reports</span></span><span styl=
e=3D"color: #333333; font-family: monospace; font-size: 13.63636302948px; b=
ackground-color: #fdfdfd;">-users/users/superuser.xml</span><br
style=3D"fo=
nt-size: 13.63636302948px; color: #333333; font-family: monospace;"><span s=
tyle=3D"color: #333333; font-family: monospace; font-size: 13.63636302948px=
; background-color: #fdfdfd;"> # vim
/tmp/</span><span id=3D"D=
WT35867" class=3D"ZmSearchResult" style=3D"font-size:
13.63636302948px; col=
or: #333333; font-family: monospace; background-color: #fffec4;"><span id=
=3D"DWT35869" class=3D"ZmSearchResult" style=3D"font-size:
10pt;">reports</=
span></span><span style=3D"color: #333333; font-family: monospace;
font-siz=
e: 13.63636302948px; background-color: #fdfdfd;">-users/users/organization_=
1/admin.xml</span><br style=3D"font-size: 13.63636302948px; color:
#333333;=
font-family: monospace;"><br style=3D"font-size: 13.63636302948px; color:
=
#333333; font-family: monospace;"><span style=3D"color: #333333;
font-famil=
y: monospace; font-size: 13.63636302948px; background-color: #fdfdfd;">Impo=
rt the user data back to </span><span id=3D"DWT35871"
class=3D"ZmSearc=
hResult" style=3D"font-size: 13.63636302948px; color: #333333; font-family:=
monospace; background-color: #fffec4;"><span id=3D"DWT35873"
class=3D"ZmSe=
archResult" style=3D"font-size:
10pt;">reports</span></span><span style=3D"=
color: #333333; font-family: monospace; font-size: 13.63636302948px; backgr=
ound-color: #fdfdfd;"> </span><span style=3D"color:
#333333; font-fami=
ly: monospace; font-size: 13.63636302948px; background-color: #fdfdfd;">met=
adata</span><br style=3D"font-size: 13.63636302948px; color: #333333;
font-=
family: monospace;"><span style=3D"color: #333333; font-family: monospace;
=
font-size: 13.63636302948px; background-color: #fdfdfd;"> #
./=
js-import.sh --input-dir /tmp/</span><span id=3D"DWT35875"
class=3D"ZmSearc=
hResult" style=3D"font-size: 13.63636302948px; color: #333333; font-family:=
monospace; background-color: #fffec4;"><span id=3D"DWT35877"
class=3D"ZmSe=
archResult" style=3D"font-size:
10pt;">reports</span></span><span style=3D"=
color: #333333; font-family: monospace; font-size: 13.63636302948px; backgr=
ound-color: #fdfdfd;">-users/ --update</span><br style=3D"font-size:
13.636=
36302948px; color: #333333; font-family: monospace;"><span style=3D"color:
=
#333333; font-family: monospace; font-size: 13.63636302948px; background-co=
lor: #fdfdfd;"> </span><br style=3D"font-size:
13.63636302948px; color=
: #333333; font-family: monospace;"><span style=3D"color: #333333;
font-fam=
ily: monospace; font-size: 13.63636302948px; background-color: #fdfdfd;">Tr=
y and login on </span><span id=3D"DWT35879"
class=3D"ZmSearchResult" s=
tyle=3D"font-size: 13.63636302948px; color: #333333; font-family: monospace=
; background-color: #fffec4;"><span id=3D"DWT35883"
class=3D"ZmSearchResult=
" style=3D"font-size: 10pt;">reports</span></span><span
style=3D"color: #33=
3333; font-family: monospace; font-size: 13.63636302948px; background-color=
: #fdfdfd;"> </span><span style=3D"color: #333333;
font-family: monosp=
ace; font-size: 13.63636302948px; background-color: #fdfdfd;">portal to ver=
ify the</span><span style=3D"color: #333333; font-family: monospace;
font-s=
ize: 13.63636302948px; background-color: #fdfdfd;"> </span><span
id=3D=
"DWT35881" class=3D"ZmSearchResult" style=3D"font-size:
13.63636302948px; c=
olor: #333333; font-family: monospace; background-color: #fffec4;"><span id=
=3D"DWT35885" class=3D"ZmSearchResult" style=3D"font-size:
10pt;">password<=
/span></span><span style=3D"color: #333333; font-family: monospace;
font-si=
ze: 13.63636302948px; background-color: #fdfdfd;"> </span><span
style=
=3D"color: #333333; font-family: monospace; font-size: 13.63636302948px; ba=
ckground-color:
#fdfdfd;">change</span></div><div><br></div><hr
id=3D"zwchr=
"><blockquote style=3D"border-left:2px solid
#1010FF;margin-left:5px;paddin=
g-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:=
none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From:
</b>"=
=E5=BC=A0=E4=BA=9A=E7=90=AA"
&lt;zhangyingyun001(a)gmail.com&gt;<br><b>To: </=
b>"Yaniv Dary" &lt;ydary(a)redhat.com&gt;<br><b>Sent:
</b>Tuesday, November 2=
5, 2014 12:56:04 PM<br><b>Subject: </b>How to update the password of
report=
s portal?<br><div><br></div><div
dir=3D"ltr"><div>Hi, Yaniv:</div><div><br>=
</div>
Would you tell me how=
to reset the reports portal password on the command
line?<div><br><div>&nb=
sp; Thanks a
lot!</div><div><br></=
div></div></div></blockquote><div><br></div></div><br>_____________________=
__________________________<br>Users mailing
list<br>Users(a)ovirt.org<br>http=
://lists.ovirt.org/mailman/listinfo/users<br></blockquote><br></div></body>=
</html>
------=_Part_17769223_116976987.1416913536254--