Menu

#4531 xcatadm user can not access postgresql without password

2.9.1
wont-fix
feng gao
None
unknown
5
2015-03-16
2015-01-22
feng gao
No

The user xcatadm needs to access the postgresql without password, so we need to add one item to "/etc/postgresql/9.3/main/pg_hba.conf" for user xcatadm, the content will be added to the file is "local all xcatadm trust" which allows user xcatadm to access postgresql without password.

Discussion

  • Guang Cheng Li

    Guang Cheng Li - 2015-01-22

    Gao Feng,

    I really could not understand the issue addressed in this bug, why the xcatadm needs to access postgresql without password? Will this be a security issue? The xCAT calls DBI, the password access is handled by xCAT/DBI automatically. Is this a postgresql 9.3 specific problem? is this os dependent? Could you provide more details? Thanks.

     
  • feng gao

    feng gao - 2015-01-22

    This is a specific problem for postgresql 9.3, not a xcat problem.
    The local users of OS are allowed to access postgresql without password before 9.3 version(the behavior of accessing DB without password is needed by pcm). But in version 9.3 of postgresql, it no longer allows local user of OS to access postgresql without password, so we need to update the configure file of postgresql to add the permit for local users(xcatadm) to access postgresql without password

     
  • Guang Cheng Li

    Guang Cheng Li - 2015-03-09

    Could this be fixed in 2.9.1? The 2.9.1 stream will be closed in the next a few days...

     
  • Degao Chu

    Degao Chu - 2015-03-16
    • status: open --> wont-fix