[
https://issues.apache.org/jira/browse/TC-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15945920#comment-15945920
]
ASF GitHub Bot commented on TC-177:
-----------------------------------
Github user dangogh commented on the issue:
https://github.com/apache/incubator-trafficcontrol/pull/340
`[--admuser (Postgres Admin User)] [--admpwd (Postgres Admin Password)]` --
this requires a password on the cmd line -- not a good idea either, since it
ends up in the shell history. what we talked about was having the user deal
with being a user that has db admin privileges. Don't you think that would be
better?
> admin.pl should use uri form to connect to postgresql utilities
> ---------------------------------------------------------------
>
> Key: TC-177
> URL: https://issues.apache.org/jira/browse/TC-177
> Project: Traffic Control
> Issue Type: Bug
> Components: Traffic Ops
> Affects Versions: 2.0.0, 2.1.0
> Reporter: Dan Kirkwood
> Assignee: Robert Scrimo
> Fix For: 2.1.0
>
>
> `admin.pl` uses command line options on each postgres utility command to
> connect to the db. This suffers from the same issue we had with pg_dump
> (see [TC-122]). The same uri form used for that fix should be used here as
> well.
> This should be considered for inclusion in 2.0.x..
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)