I know this question is quite old, but just came across the same issue and wanted to share how I did that on Fedora, but generically it's the same for any Linux distribution and shed a logic for Windows users (just path will be different pretty much)
Recover Teamspeak3 server admin password
- Connect to your machine and navigate to where your TS3 installation is
- Stop teamspeak server
Start server by:
./ts3server_minimal_runscript.sh serveradmin_password=yOuR_nEwP@ssw0rd
That will make your serveradmin password reset for your Teamspeak 3 server
Generate privilege key
- Start any telnet client - you can use e.g. PuTTy
- Connect to your Teamspeak 3 server IP using
Telnet
on port 10011
Login using command login serveradmin yOuR_nEwP@ssw0rd
password in command is the same as the one you set for your serveradmin previously
- Select your Teamspeak server instance (if you have only one just this would be your default:
use 1
and hit enter
Now it's time to generate new privilege key, for that use following command:
tokenadd tokentype=0 tokenid1=6 tokenid2=0
- That will return you token, which you can copy and paste in Teamspeak 3 client under Permissions > Use Privilege Key
Hope this helps anyone dealing with this situation
So any idea how to prevent losing the admin rights? I mean when I re-install my client OS / teamspeak client, so that I don't have to reinstall server too? – Richard Rodriguez – 2012-10-22T19:44:59.593
Once you use your key, it's used. As a server admin, you can get the server to generate a new key (somewhere hidden in the client options) which you could write down or save on a USB drive as a backup, perhaps. – Xyon – 2012-10-22T20:21:04.230