ULX

Author Topic: Resets all users to operator, even SuperAdmin  (Read 3016 times)

0 Members and 1 Guest are viewing this topic.

Offline laconix

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Resets all users to operator, even SuperAdmin
« on: November 16, 2008, 10:16:10 PM »
debug info:
Code: [Select]
ULX version: 3.31
ULib version: 2.21
Gamemode: Sandbox
Map: gm_construct
Dedicated server: true

Currently connected players:
Nick                            steamid            id lsh created
laconix                         STEAM_0:0:2645048  1  n   19
3mveR                           STEAM_0:1:15355975 2  n   27
Dr. Colon                       STEAM_0:0:15309079 3  n   131
dan.hurst                       STEAM_0:0:21300980 4  n   340
Muncle Man                      STEAM_0:1:19777509 5  n   290


ULib.ucl.users (#=4):
dr. colon:
deny:
type = steamid
groups:
1 = operator
id = STEAM_0:0:15309079
pass =
allow:
laconix:
deny:
type = steamid
groups:
1 = operator
id = STEAM_0:0:2645048
pass =
allow:
3mver:
deny:
type = steamid
groups:
1 = operator
id = STEAM_0:1:15355975
pass =
allow:
jameswang:
deny:
type = steamid
groups:
1 = operator
id = STEAM_0:1:7865052
pass =
allow:


ULib.ucl.groups (#=7):
superadmin:
deny:
allow:
1 = ulx hiddenecho
2 = ulx rcon
3 = ulx luarun
4 = ulx cexec
5 = ulx ent
6 = ulx adduser
7 = ulx adduserid
8 = ulx removeuser
9 = ulx userallow
10 = ulx userdeny
11 = ulx addgroup
12 = ulx removegroup
13 = ulx groupallow
14 = ulx groupdeny
15 = overcomeimmunity
16 = ulx hiddenecho
17 = ulx rcon
18 = ulx luarun
19 = ulx cexec
20 = ulx ent
21 = ulx adduser
22 = ulx adduserid
23 = ulx removeuser
24 = ulx userallow
25 = ulx userdeny
26 = ulx addgroup
27 = ulx removegroup
28 = ulx groupallow
29 = ulx groupdeny
30 = overcomeimmunity
31 = ulx hiddenecho
32 = ulx rcon
33 = ulx luarun
34 = ulx cexec
35 = ulx ent
36 = ulx adduser
37 = ulx adduserid
38 = ulx removeuser
39 = ulx userallow
40 = ulx userdeny
41 = ulx addgroup
42 = ulx removegroup
43 = ulx groupallow
44 = ulx groupdeny
45 = overcomeimmunity
inherit_from:
1 = admin
admin:
deny:
allow:
1 = ulib_passtime
2 = ulib_passtimeout
3 = ulx spawnecho
4 = ulx tsay
5 = ulx csay
6 = ulx gimp
7 = ulx mute
8 = ulx ungimp
9 = ulx unmute
10 = ulx gag
11 = ulx ungag
12 = ulx chattime
13 = ulx welcomemessage
14 = ulx slap
15 = ulx whip
16 = ulx slay
17 = ulx sslay
18 = ulx ignite
19 = ulx unignite
20 = ulx playsound
21 = ulx freeze
22 = ulx unfreeze
23 = ulx god
24 = ulx ungod
25 = ulx noclip
26 = ulx hp
27 = ulx armor
28 = ulx cloak
29 = ulx uncloak
30 = ulx blind
31 = ulx unblind
32 = ulx jail
33 = ulx unjail
34 = ulx ghost
35 = ulx unghost
36 = ulx ragdoll
37 = ulx unragdoll
38 = ulx maul
39 = ulx strip
40 = ulx adminmenu
41 = ulx clientmenu
42 = ulx mapsmenu
43 = ulx showmotd
44 = ulx banmenu
45 = ulx exec
46 = ulx godme
47 = ulx ungodme
48 = ulx hpme
49 = ulx cloakme
50 = ulx uncloakme
51 = ulx ragdollme
52 = ulx unragdollme
53 = ulx teleportme
54 = ulx rslotsmode
55 = ulx rslots
56 = ulx rslotsvisible
57 = ulx reservedslots
58 = ulx bring
59 = ulx goto
60 = ulx send
61 = ulx teleport
62 = ulx tooldeny
63 = ulx toolallow
64 = ulx tooldenyuser
65 = ulx toolallowuser
66 = ulx tooldenyoverride
67 = ulx map
68 = ulx kick
69 = ulx ban
70 = ulx banid
71 = ulx unban
72 = ulx spectate
73 = ulx physgunplayer
74 = ulx vote
75 = ulx votemap2
76 = ulx votekick
77 = ulx voteban
78 = ulx veto
79 = ups_damage
80 = ups_vehicle
81 = ups_freeze
82 = ups_physgun
83 = ups_remove
84 = ups_tool
85 = ups_unfreeze
86 = ups_use
87 = ups disableplayers
88 = ups miscdeletionaccess
89 = ulib_passtime
90 = ulib_passtimeout
91 = ulx spawnecho
92 = ulx tsay
93 = ulx csay
94 = ulx gimp
95 = ulx mute
96 = ulx ungimp
97 = ulx unmute
98 = ulx gag
99 = ulx ungag
100 = ulx chattime
101 = ulx welcomemessage
102 = ulx slap
103 = ulx whip
104 = ulx slay
105 = ulx sslay
106 = ulx ignite
107 = ulx unignite
108 = ulx playsound
109 = ulx freeze
110 = ulx unfreeze
111 = ulx god
112 = ulx ungod
113 = ulx noclip
114 = ulx hp
115 = ulx armor
116 = ulx cloak
117 = ulx uncloak
118 = ulx blind
119 = ulx unblind
120 = ulx jail
121 = ulx unjail
122 = ulx ghost
123 = ulx unghost
124 = ulx ragdoll
125 = ulx unragdoll
126 = ulx maul
127 = ulx strip
128 = ulx adminmenu
129 = ulx clientmenu
130 = ulx mapsmenu
131 = ulx showmotd
132 = ulx banmenu
133 = ulx exec
134 = ulx godme
135 = ulx ungodme
136 = ulx hpme
137 = ulx cloakme
138 = ulx uncloakme
139 = ulx ragdollme
140 = ulx unragdollme
141 = ulx teleportme
142 = ulx rslotsmode
143 = ulx rslots
144 = ulx rslotsvisible
145 = ulx reservedslots
146 = ulx bring
147 = ulx goto
148 = ulx send
149 = ulx teleport
150 = ulx tooldeny
151 = ulx toolallow
152 = ulx tooldenyuser
153 = ulx toolallowuser
154 = ulx tooldenyoverride
155 = ulx map
156 = ulx kick
157 = ulx ban
158 = ulx banid
159 = ulx unban
160 = ulx spectate
161 = ulx physgunplayer
162 = ulx vote
163 = ulx votemap2
164 = ulx votekick
165 = ulx voteban
166 = ulx veto
167 = ups_damage
168 = ups_vehicle
169 = ups_freeze
170 = ups_physgun
171 = ups_remove
172 = ups_tool
173 = ups_unfreeze
174 = ups_use
175 = ups disableplayers
176 = ups miscdeletionaccess
177 = ulib_passtime
178 = ulib_passtimeout
179 = ulx spawnecho
180 = ulx tsay
181 = ulx csay
182 = ulx gimp
183 = ulx mute
184 = ulx ungimp
185 = ulx unmute
186 = ulx gag
187 = ulx ungag
188 = ulx chattime
189 = ulx welcomemessage
190 = ulx slap
191 = ulx whip
192 = ulx slay
193 = ulx sslay
194 = ulx ignite
195 = ulx unignite
196 = ulx playsound
197 = ulx freeze
198 = ulx unfreeze
199 = ulx god
200 = ulx ungod
201 = ulx noclip
202 = ulx hp
203 = ulx armor
204 = ulx cloak
205 = ulx uncloak
206 = ulx blind
207 = ulx unblind
208 = ulx jail
209 = ulx unjail
210 = ulx ghost
211 = ulx unghost
212 = ulx ragdoll
213 = ulx unragdoll
214 = ulx maul
215 = ulx strip
216 = ulx adminmenu
217 = ulx clientmenu
218 = ulx mapsmenu
219 = ulx showmotd
220 = ulx banmenu
221 = ulx exec
222 = ulx godme
223 = ulx ungodme
224 = ulx hpme
225 = ulx cloakme
226 = ulx uncloakme
227 = ulx ragdollme
228 = ulx unragdollme
229 = ulx teleportme
230 = ulx rslotsmode
231 = ulx rslots
232 = ulx rslotsvisible
233 = ulx reservedslots
234 = ulx bring
235 = ulx goto
236 = ulx send
237 = ulx teleport
238 = ulx tooldeny
239 = ulx toolallow
240 = ulx tooldenyuser
241 = ulx toolallowuser
242 = ulx tooldenyoverride
243 = ulx map
244 = ulx kick
245 = ulx ban
246 = ulx banid
247 = ulx unban
248 = ulx spectate
249 = ulx physgunplayer
250 = ulx vote
251 = ulx votemap2
252 = ulx votekick
253 = ulx voteban
254 = ulx veto
255 = ups_damage
256 = ups_vehicle
257 = ups_freeze
258 = ups_physgun
259 = ups_remove
260 = ups_tool
261 = ups_unfreeze
262 = ups_use
263 = ups disableplayers
264 = ups miscdeletionaccess
inherit_from:
1 = user
user:
deny:
allow:
1 = ulx who
2 = ulx
3 = ulx help
4 = ulx psay
5 = ulx asay
6 = ulx thetime
7 = ulx motd
8 = ulx_getbans
9 = ulx who
10 = ulx
11 = ulx help
12 = ulx psay
13 = ulx asay
14 = ulx thetime
15 = ulx menu
16 = ulx_valueupdate
17 = ulx_cvar
18 = ulx_getgamemodes
19 = ulx motd
20 = ulx_getbans
21 = ulx usermanagementhelp
22 = ulx who
23 = ulx votemap
inherit_from:
respected:
deny:
allow:
1 = ulx ragdollme
2 = ulx unragdollme
3 = ulx teleportme
4 = ulx godme
5 = ulx ungodme
6 = ulx hpme
7 = ulx cloakme
8 = ulx uncloakme
9 = ulx votekick
10 = ulx votemap
inherit_from:
1 = user
none:
deny:
allow:
1 = ulx logecho
2 = ulx logfile
3 = ulx logevents
4 = ulx logchat
5 = ulx logspawns
6 = ulx logspawnsecho
7 = ulx logdir
8 = ulx addgimpsay
9 = ulx addadvert
10 = ulx addcsayadvert
11 = ulx addforceddownload
12 = ulx debuginfo
13 = ulx voteecho
14 = ulx votemap2successratio
15 = ulx votemap2minvotes
16 = ulx votekicksuccessratio
17 = ulx votekickminvotes
18 = ulx votebansuccessratio
19 = ulx votebanminvotes
20 = ulx votemapenabled
21 = ulx votemapmintime
22 = ulx votemapwaittime
23 = ulx votemapsuccessratio
24 = ulx votemapminvotes
25 = ulx votemapvetotime
26 = ulx votemapmapmode
27 = ulx votemapaddmap
28 = ulx logecho
29 = ulx logfile
30 = ulx logevents
31 = ulx logchat
32 = ulx logspawns
33 = ulx logspawnsecho
34 = ulx logdir
35 = ulx addgimpsay
36 = ulx addadvert
37 = ulx addcsayadvert
38 = ulx addforceddownload
39 = ulx debuginfo
40 = ulx voteecho
41 = ulx votemap2successratio
42 = ulx votemap2minvotes
43 = ulx votekicksuccessratio
44 = ulx votekickminvotes
45 = ulx votebansuccessratio
46 = ulx votebanminvotes
47 = ulx votemapenabled
48 = ulx votemapmintime
49 = ulx votemapwaittime
50 = ulx votemapsuccessratio
51 = ulx votemapminvotes
52 = ulx votemapvetotime
53 = ulx votemapmapmode
54 = ulx votemapaddmap
55 = ulx ragdollme
56 = ulx unragdollme
57 = ulx teleportme
58 = ulx godme
59 = ulx ungodme
60 = ulx hpme
61 = ulx cloakme
62 = ulx uncloakme
63 = ulx logecho
64 = ulx logfile
65 = ulx logevents
66 = ulx logchat
67 = ulx logspawns
68 = ulx logspawnsecho
69 = ulx logdir
70 = ulx addgimpsay
71 = ulx addadvert
72 = ulx addcsayadvert
73 = ulx addforceddownload
74 = ulx debuginfo
75 = ulx voteecho
76 = ulx votemap2successratio
77 = ulx votemap2minvotes
78 = ulx votekicksuccessratio
79 = ulx votekickminvotes
80 = ulx votebansuccessratio
81 = ulx votebanminvotes
82 = ulx votemapenabled
83 = ulx votemapmintime
84 = ulx votemapwaittime
85 = ulx votemapsuccessratio
86 = ulx votemapminvotes
87 = ulx votemapvetotime
88 = ulx votemapmapmode
89 = ulx votemapaddmap
inherit_from:
stupid:
deny:
allow:
inherit_from:
operator:
deny:
allow:
1 = ulx seeasay
inherit_from:


ULib.ucl.authed (#=6):
Player [4][dan.hurst]:
type = guest
groups:
1 = user
2 = user
id =
account = dan.hurst
acl:
allow:
deny:
uniqueid = 2764287860
Player [2][3mveR]:
deny:
type = steamid
groups:
1 = operator
account = 3mver
id = STEAM_0:1:15355975
allow:
uniqueid = 1175123626
Player [3][Dr. Colon]:
deny:
type = steamid
groups:
1 = operator
2 = user
account = dr. colon
id = STEAM_0:0:15309079
allow:
uniqueid = 2030413135
Player [NULL]:
type = guest
groups:
1 = user
2 = user
id =
account = -D(_)W- KLINK
acl:
allow:
deny:
uniqueid = 3439611147
Player [1][laconix]:
deny:
type = steamid
groups:
1 = operator
account = laconix
id = STEAM_0:0:2645048
allow:
uniqueid = 1842102035
Player [5][Muncle Man]:
type = guest
groups:
1 = user
2 = user
id =
account = Muncle Man
acl:
allow:
deny:
uniqueid = 1532293807


Garrysmod default file (#=2):
admin:
superadmin:
laconix = STEAM_0:0:2645048


Active addons on this server:
Adv Duplicator           by TAD2020, version 1.8359 (July 5th 2007)
Anti-NoClip              by RabidToaster, version 2 (24th January 2007)
APromotion               by Jay209015, version 1.2999 (6:45 PM 8/12/2008)
ARequest                 by Jay, version 1.2999 (June 22th, 2008)
counter-strike           by Valve, version 1 (5th August 2006)
day-of-defeat            by Valve, version 1 (22nd August 2006)
default_sent_pack        by TEAM GARRY, version 1 (3rd December 2006)
derma                    by , version 0.1 (17th July 2007)
hl2_ep2                  by Valve, version 1 (29th October 2007)
PHX3                     by PhoeniX-Storms, 1/4 Life, hunter, joebloom, scragnog, x-quake, Xeon133, PelPix, version SVN (20th May 2008)
portal                   by Valve, version 1 (29th October 2007)
sui_scoreboard_modified_v2 by Suicidal.Banana/BMCha/tascrafts, version ? ()
tf2                      by Valve, version 1 (29th October 2007)
Uclip                    by Megiddo (Team Ulysses), version 1.12 (12/04/07)
ulib                     by Team Ulysses, version 2.21 (06/08/08)
ulx                      by Team Ulysses, version 3.3099 (06/08/08)
UPS                      by Megiddo (Team Ulysses), version 0.8999 (07/29/08)
UTime                    by Megiddo (Team Ulysses), version 1.2999 (05/16/08)
wire                     by Wire Team, version 0.9.6 (25st March 2007)
wire model pack 1        by Team Wire, version 0.3 (25st March 2007)

The problem is it says:
Quote
[UCL] Access set.
(ADMIN) (Console) added user laconix to group "operator"
When I am superadmin and I have added myself in the users.txt

I do not want to have the operator group. Rather I want a respected group with the current permissions I have given it.

I can re add myself to superadmin through console but it demotes me soon after.

Edit: APromotion config:
Code: [Select]
APromotion = {} // Don't edit this
APromotion.Interval = 10 // Time until promotion
APromotion.Interval_Type = "H" // H for hours, M for minutes,
// Place the groups in Acending order(Lowest to Highest)
APromotion.groups =
{
[1] = "user",
[2] = "respected",
}

--===============================END OF CONFIGURATION=================================--

Edit:
Okay here is my ulib/users.txt:
Code: [Select]
"dr. colon"
{
"deny"
{
}
"type" "steamid"
"groups"
{
"operator"
}
"id" "STEAM_0:0:15309079"
"pass" ""
"allow"
{
}
}
"laconix"
{
"deny"
{
}
"type" "steamid"
"groups"
{
"operator"
}
"id" "STEAM_0:0:2645048"
"pass" ""
"allow"
{
}
}
"3mver"
{
"deny"
{
}
"type" "steamid"
"groups"
{
"operator"
}
"id" "STEAM_0:1:15355975"
"pass" ""
"allow"
{
}
}
"jameswang"
{
"deny"
{
}
"type" "steamid"
"groups"
{
"operator"
}
"id" "STEAM_0:1:7865052"
"pass" ""
"allow"
{
}
}
Edit: I should note that I have tried editing this file directly to make me super admin and others admin.
« Last Edit: November 17, 2008, 11:49:49 PM by laconix »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Resets all users to operator, even SuperAdmin
« Reply #1 on: November 17, 2008, 05:53:37 AM »
Post your data/ulib/users.txt file please. Seems all good from what you have so far...
Experiencing God's grace one day at a time.

Offline laconix

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: Resets all users to operator, even SuperAdmin
« Reply #2 on: November 17, 2008, 11:47:54 PM »
Okay here is my ulib/users.txt:
Code: [Select]
"dr. colon"
{
"deny"
{
}
"type" "steamid"
"groups"
{
"operator"
}
"id" "STEAM_0:0:15309079"
"pass" ""
"allow"
{
}
}
"laconix"
{
"deny"
{
}
"type" "steamid"
"groups"
{
"operator"
}
"id" "STEAM_0:0:2645048"
"pass" ""
"allow"
{
}
}
"3mver"
{
"deny"
{
}
"type" "steamid"
"groups"
{
"operator"
}
"id" "STEAM_0:1:15355975"
"pass" ""
"allow"
{
}
}
"jameswang"
{
"deny"
{
}
"type" "steamid"
"groups"
{
"operator"
}
"id" "STEAM_0:1:7865052"
"pass" ""
"allow"
{
}
}

Edit: I should note that I have tried editing this file directly to make me super admin and others admin.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Resets all users to operator, even SuperAdmin
« Reply #3 on: November 18, 2008, 03:27:00 AM »
You have the users set to be operator...
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Resets all users to operator, even SuperAdmin
« Reply #4 on: November 18, 2008, 04:56:36 PM »
You have the users set to be operator...

Megiddo, I'm pretty sure that's his original problem.
He edits ULib's users file, either through adduser or manually, to have users with other access.
He then uses Jay's APromotion script (I think) and somehow it's setting all users to Operator.

I'm not sure this thread should be in the ULib/ULX help and support thread, but, eh, we've gone this far.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline laconix

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: Resets all users to operator, even SuperAdmin
« Reply #5 on: November 18, 2008, 07:50:35 PM »
Don't worry, Megiddo got be thinking. I removed the operator group completely from "groups.txt" and edited "users.txt" to what I wanted me to be ("superadmin") and it was the win.

Problem Solved. Lock this or do whatever you do with solved problems!