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 seems to me that the database root user with an empty password is a pretty big security vulnerability,
since many Linux distributions come with all ports open. Not only that but also other programs on the same machine can access the database easily if the password isn't changed (how to change the password programmatically btw?).
Thus I'd like to generate a random password by default for the root user instead of an empty password which then can be got programmatically like so:
It seems to me that the database
root
user with an empty password is a pretty big security vulnerability,since many Linux distributions come with all ports open. Not only that but also other programs on the same machine can access the database easily if the password isn't changed (how to change the password programmatically btw?).
Thus I'd like to generate a random password by default for the root user instead of an empty password which then can be got programmatically like so:
Otherwise being able to change the password for the root user programmatically via for example
db.setRootPassword("pass")
would be also great.The text was updated successfully, but these errors were encountered: