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.
server moderators / admins
Re: server moderators / admins
An alternative solution to making them all Administrators:
* Add “CASACL 2 1” to the top of every include-able config file.
* Set “ACCESS_LEVEL INCLUDE 2” in your main config file.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.
* Add “CASACL 2 1” to the top of every include-able config file.
Re: server moderators / admins
thats a much simpler solution to the problem, i'll test it out
thank you very much
thank you very much