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

Aperta
#5,237 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
66/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
bash, shell
Ambito
cli, tooling

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Shell
Stelle
4.9k
Fork
866
Merge medio
17h 58m
PR unite (30g)
100

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di GameServerManagers/LinuxGSM

Tutte le issue di GameServerManagers/LinuxGSM

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.