[campcaster-dev] postgres user/password?
  • Hi,

    I've gotten a question from one of my colleagues in Jakarta asking where
    the Postgres user and password are set. I thought it was in
    /home/~user/.campcaster/campcaster-scheduler.xml, but I'm probably wrong on
    that.

    Any pointers, especially to documentation on this, would be greatly
    appreciated.


    doug
  • 2 Comments sorted by
  • If you grep the source tree for Campcaster- where is the user you're running campcaster as you'll find a number of files that have this information. I'm not sure what the canonical one is but it appears that it's set during the database initialization script.

    -lee

    ----- "Douglas Arellanes" wrote:
    > Hi,
    >
    > I've gotten a question from one of my colleagues in Jakarta asking
    > where
    > the Postgres user and password are set. I thought it was in
    > /home/~user/.campcaster/campcaster-scheduler.xml, but I'm probably
    > wrong on
    > that.
    >
    > Any pointers, especially to documentation on this, would be greatly
    > appreciated.
    >
    >
    > doug
  • Douglas.Arellanes@mdlf.org wrote on 03/15/2007 12:49 PM:
    > Hi,
    >
    > I've gotten a question from one of my colleagues in Jakarta asking where
    > the Postgres user and password are set. I thought it was in
    > /home/~user/.campcaster/campcaster-scheduler.xml, but I'm probably wrong on
    > that.
    >
    > Any pointers, especially to documentation on this, would be greatly
    > appreciated.
    >
    > doug

    The database user and the database itself are created by
    src/products/scheduler/bin/createDatabase.sh. This file is installed in
    ${prefix}/bin, and it is called from postInstallStation.sh (for the
    installed version) and user_setup.sh (for the development environment).

    Ferenc