server moderators / admins

Post here if you need help setting up your server, etc.
Post Reply
User avatar
LoveBug
Average Program
Posts: 50
Joined: Wed Jun 29, 2011 8:38 pm
Location: England
Contact:

server moderators / admins

Post by LoveBug »

My server is running well and has a few different game configs available

Ive setup some moderators but they are unable to use the include command to change setups so im thinking of changing the mods to admins

I will need to change access_level to owner for some of the commands like quit and dedicated_fps, are there any other command that you think I should block from admin use ?

Thanks.
Image
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Re: server moderators / admins

Post by dlh »

An alternative solution to making them all Administrators:
settings_authentication.cfg wrote:# A very powerful command with access levels is CASACL, prounounced
# like Quetzalcoatl, your friendly Aztec God. A bit like the suid flag
# on Unix executables, the setuid system command, and not completely
# unlike the sudo shell command or, if you go very far, Access Control
# in Vista, it allows to change the access level a config file is
# executed under. If you put

# CASACL <required access level> <elevated access level>

# into a configuration file, and a remote admin with at least the rights
# <required access level> orders to include that file, the commands after
# the CASACL command will be executed as if the user had access level
# <elevated access level>. Otherwise, script execution is aborted.
# The effect carries on to other config files included by the one with
# the CASACL command, but wears off as soon as processing the file with
# the command is done. Especially, since every command given as remote
# admin directly is considered one file, "/admin CASACL 20 0" will elevate
# the rights to Owner, but since no second command can be issued on the
# same line, nothing further happens.

# We recommend you put a CASACL command at the top of every configuration
# file your remote administrators are going to include; it serves two
# purposes then: it guards the file from unauthorized inclusion, and
# it makes sure all the commands in the file work whenever the initial
# CASACL command is passed, provided you test it once with any account.
# This avoids scripts that only work partially and leave your server
# in an unhealthy state.

# Oh yeah, CASACL is short for Check And Set ACcess Level.
* Set “ACCESS_LEVEL INCLUDE 2” in your main config file.
* Add “CASACL 2 1” to the top of every include-able config file.
User avatar
LoveBug
Average Program
Posts: 50
Joined: Wed Jun 29, 2011 8:38 pm
Location: England
Contact:

Re: server moderators / admins

Post by LoveBug »

thats a much simpler solution to the problem, i'll test it out

thank you very much
Image
Post Reply