[greenstone-users] username and password

From Greenstone Team
DateFri May 4 14:40:00 2012
Subject [greenstone-users] username and password
In-Reply-To (6F8C0499CDDFE04485C8AD3E353DCE46AADC70CF28-gcc-exch07vm1)

1. If you're admin, then open a terminal. To set the admin password on
Linux, you can run:
./gsicontrol.sh configure-admin

and on Windows:
gsicontrol.sh configure-admin

2. If your admin account is working fine, then make sure you've enabled
the Administration pages. You can do this by opening etc/main.cfg in a
text editor and changing the line that says:

status disabled
status enabled

3. Go to your Greenstone home page, click on the "Administration Page"
button and, in the page that then loads, click on the "List Users" link
to the left.

4. Login with the admin account. Then select the user whose password you
want to reset by pressing the Edit button and filling in the new details.

> I know it is stored in etc/users.db file. But I don't see how I can
open this file.
The password is stored in an obfuscated format.

However, if you simply want to open the file to inspect its contents, then
1. In a terminal run
source setup.bash
if you're on Linux.

If you're on Windows, run:

2. Next, run:
db2txt etc/users.gdb

This will print the contents to the screen.

(Note that in recent versions of Greenstone 2, the extension for the
Greenstone database files is gdb.)


On 04/05/12 01:25, John Fitzgibbon wrote:
> Hi,
> I think I may have forgotten my username and password, and I need it
> for using remote GLI. I know it is stored in etc/users.db file. But I
> don't see how I can open this file.
> Any help would be much appreciated.
> Regards,
> John
> John Fitzgibbon
> w: www.galwaylibrary.ie
> e: info@galwaylibrary.ie
> p: 00 353 91 562471
> f: 00 353 91 565039
> ------------------------------------------------------------------------
> <http://www.householdcharge.ie> <http://www.householdcharge.ie>
> This e-mail message has been scanned for content and cleared by
> MailMarshal Hosted at Galway County Council
> T? an teachtaireacht r?omhphoist seo scan?ilte d'?bhar agus glanta ag
> MailMarshal at? ?st?lta i gComhairle Chontae na Gaillimhe.
> Correspondance is welcome in Irish or in English.
> T? m?le f?ilte roimh chomhfhreagras i nGaeilge n? i mB?arla.
> T? eolas at? pr?obh?ideach agus r?nda sa r?omhphost seo agus aon iat?n
> a ghabhann leis agus is leis an duine/na daoine sin amh?in a bhfuil
> siad seolta chucu a bhaineann siad. Mura seola? th?, n?l t? ?daraithe
> an r?omhphost n? aon iat?n a ghabhann leis a l?amh, a ch?ip?il n? a
> ?s?id. M? t? an r?omhphost seo faighte agat tr? dhearmad, cuir an
> seolt?ir ar an eolas thr? aischur r?omhphoist agus scrios ansin ? le
> do thoil.
> This e-mail and any attachment contains information which is private
> and confidential and is intended for the addressee only. If you are
> not an addressee, you are not authorised to read, copy or use the
> e-mail or any attachment. If you have received this e-mail in error,
> please notify the sender by return e-mail and then destroy it.
> If you need this email in an alternative format please contact the sender
> M? t? an r?omhphost seo ag teast?il uait i bhform?id eile d?an
> teagmh?il leis an duine a sheol chugat ?
> ------------------------------------------------------------------------
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20120504/9bea14ea/attachment.html