Results 1 to 9 of 9
Thread: Create a second superadmin
-
13-11-2010, 12:00 #1
Create a second superadmin
Hello!
I want to create a second super-server-admin account but i dont know how i create a new.
How i create a new superadmin account?
-
13-11-2010, 14:46 #2
-= TeamSpeak Guru =-
- Join Date
- May 2010
- Posts
- 6,372
Hello
1 - Create a new identity in your client
TS3Client => Settings => Identites
2 - Go to Connect on your server with this new identity
TS3Client => Connections => click on "more" button to chose the identity
3 - Add this user on Admin Query Group
4 - Create a login account for this user (identity)Code:login serveradmin <password> use <serverID> ("or" use port=<virtual server port>) servergroupaddclient sgid=2 cldbid=<database client ID>
TS3Client => Tools => ServerQuery login
Now you have a new "account" (identity) with query account
-
23-12-2010, 19:46 #3
-= TeamSpeak Lover =-
- Join Date
- Nov 2010
- Location
- Germany
- Posts
- 48
Hi,
I'm the chosen Teamspeak Admin at my clan.
the teamspeak server is run by our leader, he also has the login dates for the serveradmin @ query.
he added me to the admin server query group (sgid=2)
but it seems like I only have administratively rights at the virtual server on which he added me to the group (sid=1)
but not at the other virtual servers we are running.
I know that if I connect to the different virtual servers it doesn't show I'm in the query server admin group because have a different cldbid on each virtual server.
but at the server query I am logging in with the login dates I assigned myself on the server where I am shown in the query server admin group.
so at the query I should have rights to administrate all virtual servers, even I don't show in the query server admin group on this specific virtual server.
or did I misunderstood this?
-
24-12-2010, 07:48 #4
-= TeamSpeak Addict =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 205
The problem isn't solved in that way. The generated group-assignments are in relation to a specific virtual server. So you only have serverquery-access on this server (sid=1).
It is not possible to create a fully usable serverquery-account from within the client or serverquery atm. This is on todo, so it will be possible in the future. A Workaround for creating such an account is creating it within your database. After that, you have to restart your whole server.
-
24-12-2010, 15:22 #5
-= TeamSpeak Lover =-
- Join Date
- Nov 2010
- Location
- Germany
- Posts
- 48
would you please care to explain how to create such a user directly in the database?
because until now I didn't had to do anything directly in the db
thanks in advance
and btw merry christmas xD
-
25-12-2010, 10:24 #6
-= TeamSpeak Addict =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 205
This two SQL-Commands can be used to create a new Serverquery-account with query-admin-rights.Code:insert into clients (client_id, server_id, client_unique_id, client_nickname, client_login_name, client_login_password, client_lastconnected, client_totalconnections, client_month_upload, client_month_download, client_total_upload, client_total_download) values (NULL, 0, '<query-UID>', '<query-Name>', '<query-loginname>', '<query-PW>', 0, 0, 0, 0, 0, 0); insert into group_server_to_client (group_id, server_id, id1, id2) values (2, 0, <client-id>, 0);
The query-PW has to be a Base64-encoded raw SHA1-Hash of your pw.
Example-Code for PHP:
Please do this only, if your server is offline, otherwise the database can be damaged.PHP Code:base64_encode(sha1("value", true));
Last edited by Master_D; 26-12-2010 at 09:35.
-
25-12-2010, 16:25 #7
-= TeamSpeak Fanatic =-
- Join Date
- Jan 2010
- Location
- Secret Base in Arctic Region
- Posts
- 1,202
That code is wrongCode:insert into group_server_to_client (group_id, server_id, id1, id2) values (<client-id>, 0, 1, 0);
,should read
->Code:INSERT INTO `group_server_to_client` (group_id, server_id, id1, id2) VALUES (2, 0, <user_id>, 0);
-
26-12-2010, 09:35 #8
-= TeamSpeak Addict =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 205
oh, i should have checked, what i've pasted

corrected.
-
26-12-2010, 17:15 #9
What florian_fr40 first post works fine really. That is how query admin was intended to be used, from the query client or telnet. So by given an account query admin on any server, all the user needs to do is create a query login to work with the server as the "superadmin" account does.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Permission channel admin
By Immortals in forum Permission SystemReplies: 9Last Post: 29-09-2010, 10:49 -
[solved] Failed sql/update_1.sql
By WolwX in forum Server SupportReplies: 2Last Post: 04-02-2010, 13:05 -
Create Superadmin
By Sherman in forum [TeamSpeak 2] Client SupportReplies: 2Last Post: 27-11-2005, 18:30 -
create Superadmin account
By Frecklin in forum [TeamSpeak 2] Server SupportReplies: 0Last Post: 02-06-2004, 14:23



Reply With Quote
