bug(ts3server): change-password does not apply the new password

Abierto
#5,237 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
66/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
bash, shell
Área
cli, tooling

Línea de trabajo

Start with command_ts3_server_pass.sh, where ts3serverpass and parms are set before restart, then compare against the current start command that reads startparameters instead. Read the referenced refactor and start-parameter changes to see how one-off start arguments are passed. Done means change-password either applies serveradmin_password through startparameters for that start or the command is removed, verified manually against a TeamSpeak 3 server.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

engine: null game: Teamspeak 3

Description

./<server> change-password (command_ts3_server_pass.sh) never applies the new ServerAdmin password.

The module sets ts3serverpass="1" and parms="serveradmin_password=... inifile=..." and then restarts the server. Nothing reads either variable any more:

  • parms was renamed to startparameters (#3151, #3340). The start command only uses startparameters.
  • The code that read ts3serverpass was removed in "refactor: remove legacy code" (069e3bd4e).

So the server restarts normally and the module still prints "New password applied".

Possible fixes

  • Pass serveradmin_password=... through startparameters for the one start, then restore it.
  • Or remove the command if it is no longer used.

Needs a TeamSpeak 3 server to test.

Found while sweeping for typos in #5236.

Lenguaje dominante
Shell
Estrellas
4.9k
Forks
866
Merge medio
17 h 58 min
PR fusionados (30 d)
100

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de GameServerManagers/LinuxGSM

Todos los issues de GameServerManagers/LinuxGSM

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.