lost password

90 views
Skip to first unread message

maelgon

unread,
Apr 29, 2013, 12:29:09 PM4/29/13
to wv...@googlegroups.com
Hello,

We are French students and we use wview our weather station.
But we lost our admin password ....
As recover it or change it?
thank you

---
Classe 5e1
http://edouard-lucas.clg.ac-amiens.fr/meteo2/

blades

unread,
May 1, 2013, 8:20:56 PM5/1/13
to wv...@googlegroups.com
backup NOAA, Archive and all custom things and then re-install WVIEW and load the new site with the backup

Al

unread,
May 2, 2013, 12:14:52 AM5/2/13
to wv...@googlegroups.com
blades wrote:
> backup NOAA, Archive and all custom things and then re-install WVIEW and
> load the new site with the backup
>
> On Monday, April 29, 2013 7:29:09 PM UTC+3, maelgon wrote:
>
> Hello,
>
> We are French students and we use wview our weather station.
> But we lost our admin password ....
> As recover it or change it?

Much easier to rename wview-conf.sdb, and generate a fresh copy.
Then setup everything again via the web interface. The default password
with a new wview-conf.sdb is 'wview'.

wview-config.sdb is typically located in /usr/local/etc/wview/, so
navigate to the folder containing the file (after stopping wview of
course), and rename or delete the old wview-conf.sdb.

Then create a new file as follows:

# sqlite3 wview-conf.sdb (this creates a new empty database)
.read wview-conf.sql (reads the data from wview-conf.sql)
.q (quits sqlite3)

You will now have a 100% stock configuration, so use wviewmgmt to enter
your specific station info (and change the password to something you'll
remember).

Al

maelgon

unread,
May 2, 2013, 2:34:31 PM5/2/13
to wv...@googlegroups.com
Thank you for the messages. We will test the solution "Al".

Wolfgang Wander

unread,
Jun 20, 2013, 8:09:25 PM6/20/13
to wv...@googlegroups.com

Another possible solution.  The password is stored as md5 hash in the config database.  Just stop wviewd and run wviewconfig again, when you're asked
for the initial password, enter the output of

echo -n 'yournewpasswd' | md5sum

 (without the - at the end) into the wviewconfig field.

Example:

> echo -n 'yournewpasswd' | md5sum
141e816e8cda2b8978a433773eaaf10b  -

so you'd enter 141e816e8cda2b8978a433773eaaf10b



Reply all
Reply to author
Forward
0 new messages