small issue with create-database.sh

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

small issue with create-database.sh

Charles Bueche
Hi,

I have noticed an issue : the admin password generated by create-database.sh has a double quote at the end of the string, probably not wanted (already included in two simple quotes).

Regs,
Charles

$ dba/create-database.sh
...
...
*  The password for the 'admin' user has been set to 'TghZTttyi'"


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
rscds-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/rscds-general
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: small issue with create-database.sh

Andrew McMillan
On Tue, 2010-01-05 at 22:03 +0100, Charles Bueche wrote:

> Hi,
>
>
> I have noticed an issue : the admin password generated
> by create-database.sh has a double quote at the end of the string,
> probably not wanted (already included in two simple quotes).
>
>
> Regs,
> Charles
>
>
> $ dba/create-database.sh
> ...
> ...
> *  The password for the 'admin' user has been set to 'TghZTttyi'"
Thanks for the note.

Do you have pwgen installed on your machine at all?  What environment is
this happening in?

I can see one possible problem in the code, and it looks like it would
only happen if you don't have pwgen installed, or possibly if the
installed pwgen doesn't support our options.

Thanks,
                                        Andrew.

------------------------------------------------------------------------
andrew (AT) morphoss (DOT) com                            +64(272)DEBIAN
               What happened last night can happen again.
------------------------------------------------------------------------


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
rscds-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/rscds-general

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: small issue with create-database.sh

Charles Bueche
Hi Andrew,

you right, pwgen is not installed. It's Ubuntu 8.10 on x86 hardware,  
running create-database.sh as user postgres.

Regs,
Charles

On Jan 7, 2010, at 12:08, Andrew McMillan wrote:

> On Tue, 2010-01-05 at 22:03 +0100, Charles Bueche wrote:
>> Hi,
>>
>>
>> I have noticed an issue : the admin password generated
>> by create-database.sh has a double quote at the end of the string,
>> probably not wanted (already included in two simple quotes).
>>
>>
>> Regs,
>> Charles
>>
>>
>> $ dba/create-database.sh
>> ...
>> ...
>> *  The password for the 'admin' user has been set to 'TghZTttyi'"
>
> Thanks for the note.
>
> Do you have pwgen installed on your machine at all?  What  
> environment is
> this happening in?
>
> I can see one possible problem in the code, and it looks like it would
> only happen if you don't have pwgen installed, or possibly if the
> installed pwgen doesn't support our options.
>
> Thanks,
> Andrew.
>
> ------------------------------------------------------------------------
> andrew (AT) morphoss (DOT) com                            
> +64(272)DEBIAN
>               What happened last night can happen again.
> ------------------------------------------------------------------------
>


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
rscds-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/rscds-general
Loading...