<div dir="ltr">Dear Bhamu & Gavin,<div><br></div><div> Thank you for your responses. I will have access to that system on next Monday. I will try to follow your suggestions & let you know the results then. </div><div><br></div><div>Thanks once again.</div><div><br></div><div>with regards, </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 1, 2017 at 2:32 PM, Gavin Abo <span dir="ltr"><<a href="mailto:gsabo@crimson.ua.edu" target="_blank">gsabo@crimson.ua.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div class="m_-6753321638508112059moz-cite-prefix">The id seems recoverable from the
w2web.users file. However, the password seems not easily
recoverable (as it should be!) as the perl documentation says
"There is no decrypt function" [1]. Therefore, deleting
w2web.users [2] (or .w2web) is the way to do it.<br>
<br>
First, you might want to backup the .w2web folder. For example:<br>
<br>
username@computername:~/<wbr>Desktop$ cp -r ~/.w2web ~/.w2web_old<br>
<br>
Or at least, you will probably want to get and write down what the
port and host that are in the w2web.conf file before removing the
.w2web folder:<br>
<br>
username@computername:~/<wbr>Desktop$ cat
~/.w2web/computername/conf/<wbr>w2web.conf | grep -E 'port|host'<br>
port=7890<br>
host=localhost<br>
<br>
Next, remember to kill all currently running versions of w2web.
For example:<br>
<br>
username@computername:~/<wbr>Desktop$ ps -e | grep w2web<br>
4089 ? 00:00:00 w2web<br>
username@computername:~/<wbr>Desktop$ kill 4089<br>
<br>
For example, my username is user1 and password is 1234. The
username is clearly seen in w2web.users and 9XDKy48uHtMo6 is the
hash for my 1234 password:<br>
<br>
username@computername:~/<wbr>Desktop$ cat
~/.w2web/computername/conf/<wbr>w2web.users <br>
user1:9XDKy48uHtMo6<br>
<br>
Just the w2web.users file was removed. For example with:<br>
<br>
username@computername:~/<wbr>Desktop$ rm
~/.w2web/computername/conf/<wbr>w2web.users <br>
<br>
Next, I was able set a new id and password, but I used the same
ones again. I also used the port and host that I had before in
the w2web.conf file:<br>
<br>
username@computername:~/<wbr>Desktop$ w2web<br>
##############################<wbr>##############################<wbr>###########<br>
# w2web
starter <wbr> <wbr> #<br>
# Copyright (C) 2001
<a href="http://luitz.at" target="_blank">luitz.at</a> <wbr> #<br>
##############################<wbr>##############################<wbr>###########<br>
w2web installer on host computername<br>
<br>
##############################<wbr>##############################<wbr>###########<br>
# w2web
installer <wbr> <wbr> #<br>
# Copyright (C) 2001
<a href="http://luitz.at" target="_blank">luitz.at</a> <wbr> #<br>
##############################<wbr>##############################<wbr>###########<br>
<br>
Checking for Installation in /home/username/.w2web/<wbr>computername<br>
<br>
<br>
Installing w2web files ... <br>
Please answer these questions for proper installaltion. <br>
Just press enter for the default value of (in brackets).<br>
<br>
Please enter the username: [admin] user1<br>
Please enter the password: [password] 1234<br>
user1:1234<br>
Remember these. You will need them when you log in.<br>
<br>
Select the port to run on: [7890] <br>
Running on port 7890<br>
<br>
Please enter this system's hostname: [computername] localhost<br>
Using localhost<br>
<br>
Is this your master node?: [y] y<br>
Installing... Attempting to start now...<br>
<br>
Trying to start /home/username/WIEN2k/SRC_<wbr>w2web/bin/w2web<br>
w2web server started, now point your web browser to<br>
<a class="m_-6753321638508112059moz-txt-link-freetext" href="http://localhost:7890" target="_blank">http://localhost:7890</a><br>
<br>
done.<br>
username@computername:~/<wbr>Desktop$ cat
~/.w2web/computername/conf/<wbr>w2web.users <br>
user1:ttja7f2i1Z72.<br>
<br>
The ttja7f2i1Z72 is the hash for my 1234 password. The password
hash is randomly generate each time, which is why it is different.<br>
<br>
[1] <a class="m_-6753321638508112059moz-txt-link-freetext" href="http://perldoc.perl.org/functions/crypt.html" target="_blank">http://perldoc.perl.org/<wbr>functions/crypt.html</a><br>
[2]
<a class="m_-6753321638508112059moz-txt-link-freetext" href="http://susi.theochem.tuwien.ac.at/reg_user/textbooks/usersguide.pdf" target="_blank">http://susi.theochem.tuwien.<wbr>ac.at/reg_user/textbooks/<wbr>usersguide.pdf</a>
(section "11.3.5 The password file conf/w2web.users" on page 224
of the WIEN2k 16.1 usersguide)<div><div class="h5"><br>
<br>
On 4/1/2017 1:09 AM, shamik chakrabarti wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">Dear Xavier,
<div><br>
</div>
<div> if without deleting the .w2web file, if I
run ./userconfig_lapw, whether that will give me new id &
password for graphical interface?...As the installation of
wien2k itself is a tough job, I do not want to take risk of
deleting any files, as long as we have other ways to do it.</div>
<div><br>
</div>
<div>with regards, </div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Apr 1, 2017 at 12:11 AM, Xavier
Rocquefelte <span dir="ltr"><<a href="mailto:xavier.rocquefelte@univ-rennes1.fr" target="_blank">xavier.rocquefelte@univ-<wbr>rennes1.fr</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Dear Shamik</p>
<p>The userid and password are generated when you start
for the first time the w2web interface by typing in the
unix terminal: <br>
</p>
<p>w2web</p>
<p>If it has been already generated, you have then created
a directory named .w2web which contains configuration
files. <br>
</p>
<p>One easy solution is to remove this directory: rm -f
.w2web</p>
<p>Then type: w2web and answer the questions which will
lead to recreate the directory with the userid and
password you will choose. <br>
</p>
<p>Best Regards</p>
<p>Xavier<br>
</p>
<div>
<div class="m_-6753321638508112059h5"> <br>
<div class="m_-6753321638508112059m_-5442830660916242249moz-cite-prefix">Le
31/03/2017 à 18:29, shamik chakrabarti a écrit :<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="m_-6753321638508112059h5">
<div dir="ltr">Dear Wien2k users,
<div><br>
</div>
<div> I am now try to
work in a system, in which while giving the port
number to the address bar of a browser & it
is then asking for user id & password to
open graphical interface of wien2k.
Unfortunately I do not know the id & the
password for the interface to open. Is there any
file or directory in which I can get the log in
information for graphical interface.</div>
<div><br>
</div>
<div>Looking forward to your response in this
regard.</div>
<div><br>
</div>
<div>with regards, <br clear="all">
<div><br>
</div>
-- <br>
<div class="m_-6753321638508112059m_-5442830660916242249gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>Dr. Shamik Chakrabarti<br>
Research Associate</div>
<div><span style="font-size:12.8px">Electroceramics
Lab</span><br>
Dept. of Metallurgical & Materials
Engineering<br>
IIT Kharagpur<br>
Kharagpur 721302<br>
INDIA</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div></div></div>
<br>______________________________<wbr>_________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.<wbr>at</a><br>
<a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" rel="noreferrer" target="_blank">http://zeus.theochem.tuwien.<wbr>ac.at/mailman/listinfo/wien</a><br>
SEARCH the MAILING-LIST at: <a href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html" rel="noreferrer" target="_blank">http://www.mail-archive.com/<wbr>wien@zeus.theochem.tuwien.ac.<wbr>at/index.html</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px">Dr. Shamik Chakrabarti<br>Post Doctoral Research Associate</div><div style="font-size:12.8px">Dept. of Condensed Matter Physics and Material Science</div><div style="font-size:12.8px">S N Bose National Centre for Basic Sciences<br>Kolkata-700098<br>INDIA</div></div></div></div></div></div>
</div>