Forum Discussion

sclind's avatar
sclind
Level 6
8 years ago

Should we know the randomly generated database password?

I was reading this post:

https://vox.veritas.com/t5/NetBackup/Has-the-default-admin-password-for-nbdbadmin-change-in-v7-7-1/td-p/772402

that quoted from the admin guide:

"Changing the NetBackup database password
The database password is set to a randomly generated password upon installation."

Is that a password I would have seen and should have recorded at the time?  (I dont recall seeing a password or I think I would have saved it).

The reason I ask is that I had to run a command that needed the password - so I had to run the utility to set it to somthing I knew.  ('nbusql' not longer worked).

Makes me wonder what other shops do.

 

  • I'm saying, they have to give some password, but if they make it "password" then every Tom, Dick and Harry knows its "password" or "nbusql" as it used to be. Not even Veritas know the password, its not shown anywhere. The hash of it would be in the server.conf file (if i recall correctly).

    If support needs to connect they'll change it to something and connect. Whether you remember it or not is irrelevant since you can just update / reset it when you want to. But as I said, you need to be on the master to do so.

  • You only need that password when, and if, you (but only really support) need to connect to the database. And in that case you can just reset the password to xyz. It used to be default password (nbusql) but i suppose they made it random for security reasons, meaning you need to be authenticated and loggen on to the master to change the password, and you can't just remotely connect using the default password. 

    • sclind's avatar
      sclind
      Level 6
      I did have to reset it to run what my support vendor wanted me to run. But was the random password ever shown to me?
      • I believe that is the point. Its randon and default but without being default i.e known to everyone.