[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Username
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] Username |
Date: |
Thu, 23 Feb 2012 23:59:53 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Feb 23, 2012 at 02:01:01AM +0000, Vaibhav Banait wrote:
> I am run into a trouble. I removed any-doc as user. I
> possibly changed something in my regular username so that it
> is not being recognised as a staff member. I am not able to
> log in. There appear to be three ways out for me
>
> 1. To log in using an username and password of another preexisting account
> if gnumed has built in account for someone and then create user name for
> myself.
> 2. If there is a way to create username without logging in
> 3. Erase complete system and reinstall.
> Please help
You can do this in a console:
psql -d gnumed_v16 -U gm-dbo
set default_transaction_read_only to off;
select gm.create_user('your-user-name', 'your-password');
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346