You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is a bad thing to be placing the database password in ~www-data which is publicly available. We should put the .pgpass file in some public place (e.g. /etc/geni-ch) and then invoke the psql command with the PGPASS= variable set.
This needs to be changed in our import_database.py script and some installation scripts that actually place the file in that location permanently.
Imported from trac ticket #637, created by mbrinn on 06-20-2013 at 10:55, last modified: 03-31-2015 at 14:27
The text was updated successfully, but these errors were encountered:
I'm not going to bother to make the change myself, because i don't know what the other changes Marshall mentioned are, but i believe that change will do it in terms of making sure www-data uses the right environment variable for all psql-using subcommands spawned by importa_database.py.
It is a bad thing to be placing the database password in ~www-data which is publicly available. We should put the .pgpass file in some public place (e.g. /etc/geni-ch) and then invoke the psql command with the PGPASS= variable set.
This needs to be changed in our import_database.py script and some installation scripts that actually place the file in that location permanently.
Imported from trac ticket #637, created by mbrinn on 06-20-2013 at 10:55, last modified: 03-31-2015 at 14:27
The text was updated successfully, but these errors were encountered: