Skip to content

xcatha.py set up weak password for database access by default #25

Description

@neo954

This bug is against xcatha.py commit 6e4c13e.

When the end user choose to use xcatha.py -s to set up his/her xCAT management with MariaDB or PostgreSQL database, the script xcatha.py with use a plain word cluster as the database password. I believe this behavior is improper, and may lead the security problem.

I suggest use a random and strong word as the database password. And it will be write to xCAT configuration file /etc/xcat/cfgloc. This will be much better.

xcatdb_password={'XCATPGPW':'cluster','XCATMYSQLADMIN_PW':'cluster','XCATMYSQLROOT_PW':'cluster'}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions