Multiple passwords
I have a request in to allow multiple admin passwords for a particular server. The logic is that if I am running several servers, and want to give admin privileges on one to someone without revealing my master password, I can do so.
When running from the command line, this would be easy:
It would also be easy to do by providing multiple entries in the INI file.
But it's more complex when you have entries specified both on the command line and in the INI. Normally, when there is a conflict between what's specified on the command line and what's in the INI file, the command line wins. However, that doesn't work so well in this case.
Which of the following make more sense?
1. If you specify passwords in both the INI and the command line, only those specified on the command line are functional
or
2. If you specify passwords in both the INI and the command line, any password specified in either location is functional
or
3. This is such a specific use case, it's not worth the bother
When running from the command line, this would be easy:
bitfighter -dedicated -adminpassword firstpw -adminpassword 2ndpw
It would also be easy to do by providing multiple entries in the INI file.
But it's more complex when you have entries specified both on the command line and in the INI. Normally, when there is a conflict between what's specified on the command line and what's in the INI file, the command line wins. However, that doesn't work so well in this case.
Which of the following make more sense?
1. If you specify passwords in both the INI and the command line, only those specified on the command line are functional
or
2. If you specify passwords in both the INI and the command line, any password specified in either location is functional
or
3. This is such a specific use case, it's not worth the bother