Page 1 of 1

Multiple passwords

PostPosted: Sat Sep 18, 2010 12:10 pm
by watusimoto
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:

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

Re: Multiple passwords

PostPosted: Sat Sep 18, 2010 12:18 pm
by ZoombeR
huhs?

I run all my servers separately, from separate folders, so I guess this doesn't apply to me,

As for going with options,
Id go with 1
Maybe someone wants to temporarily change their password just for one host?
A person always looks at the command line before launching a server, but that wont be the same for the ini file.
If the user specifies the password from the console, he or she is aware it may be different from the ini password, and is aware of using the console password

Re: Multiple passwords

PostPosted: Sat Sep 18, 2010 9:37 pm
by bobdaduck
Why not combine them? You have passwords set in command line and INI file, and they just combine to be passwords 1, 2, 3, 4, etc.