Rolf Stöckli <[email protected]> writes:

> Am 01.09.2012 21:18, schrieb Keith Seyffarth:
>> No, there is not an entry for "admin" or "admin@<database>" in the
>> members file.
>
> So I wonder how you installed the system, because admin@<database> is 
> always the first user that is created in version 3.

The dataset was created in version 2.<something> about four years ago.

> Open users/member with an editor and add this:
>
> [admin@<database>]
> company=<your company>
> dbconnect=dbi:Pg:dbname=<your db>
> dbdriver=Pg
> dbname=<database>
> dbuser=sql-ledger
> name=<your name>
> stylesheet=sql-ledger.css
> timeout=3600
> <RETURN>
>
> Don't forget the return at the end. Now you should be able to log in to 
> your database with admin@<database> and without password. Then you can 
> go to Preferences and add a password and correct the settings, and go to 
> HR and create the rest of the users.

Thanks for the tip. I can't get admin to log in - but adding @<database>
after my primary username allowed that user to log in again. Everything
appears to be working now. My best guess is that something in the pgsql
upgrade this time forced sql-ledger to check the format of the username
in the members file, which hadn't previously been enforced...

Thanks everyone for your help.

Keith S.
_______________________________________________
SQL-Ledger mailing list
[email protected]
http://lists.ledger123.com/mailman/listinfo/sql-ledger

Reply via email to