ULX

Author Topic: [Help] Super admin problem  (Read 2550 times)

0 Members and 1 Guest are viewing this topic.

Offline cocobobo20

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
[Help] Super admin problem
« on: November 15, 2013, 03:57:44 PM »
Okay so on my stronghold server superadmins can add people to groups but CAN"T remove them.

I have no idea how this happend.

paste bin of there commands via ftp file http://pastebin.com/uK6Rhqym

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: [Help] Super admin problem
« Reply #1 on: November 15, 2013, 04:09:17 PM »
I believe you need to do this command through the RCON console:
Code: [Select]
ulx groupallow superadmin "ulx removeuser"
This should also be done:
Code: [Select]
ulx groupallow superadmin "ulx removeuserid"
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline cocobobo20

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: [Help] Super admin problem
« Reply #2 on: November 15, 2013, 10:49:39 PM »
I don't want them to be able to add or remove users

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: [Help] Super admin problem
« Reply #3 on: November 16, 2013, 06:11:32 AM »
That was what I thought you wanted to do, since you pointed out the fact that they could add, but not remove users. By default the group "superadmin" has all access, so I just assumed that you wanted them to be able to remove users too.
In that case you would have to use these commands:
Code: [Select]
ulx groupdeny superadmin "ulx adduser"
ulx groupdeny superadmin "ulx adduserid"
This can also be done through RCON console, but I would actually recommend going through the ULX menu and unchecking/checking the commands that the group "superadmin" has access to through that. It would be the best if you want to limit what the group "superadmin" can do. Although, if you're creating some sort of "owner" group, the way that you're doing it is not recommended (read this). It's better to make yourself superadmin with all access and make a group that inherits from "admin" and then you can add certain commands to the new group.
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: [Help] Super admin problem
« Reply #4 on: November 16, 2013, 10:34:36 AM »
cocobobo20, to strongly emphasize what decicus is stating, you really should not be giving people superadmin access unless you would trust them with almost total access to your server.
The link Decicus points to asking you to 'read this' explains why.
Garry wrote Gmod to have superadmin as the highest group. If you're giving people superadmin access, just because you may remove a ULX command access doesn't mean they won't have other ways that Gmod might allow them to perform functions you didn't expect or want.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline cocobobo20

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: [Help] Super admin problem
« Reply #5 on: November 16, 2013, 12:36:38 PM »
I never knew that about garrysmod. Although it seems fine on my TTT server where super admins can't do much  but on my F2S:Stronghold server is where the problem is.

I also have to many people i guess i'll try at late at night to organize all my groups