Update of /cvsroot/tuxaator/tuxaator/config
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8085/config
Modified Files:
hosts.dist
Log Message:
use globs in hostfile
Index: hosts.dist
===================================================================
RCS file: /cvsroot/tuxaator/tuxaator/config/hosts.dist,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** hosts.dist 5 Oct 2001 18:46:27 -0000 1.2
--- hosts.dist 11 Feb 2005 20:15:28 -0000 1.3
***************
*** 1,9 ****
# $Revision$
# the format of this file is following
! # hostmask matching regexp|access_level
! # the access level for each command can be set in the source
# of the bot. By default 9 is the highest and gives access
# to all the admin commands, level 2 is enough to modify the
! # database
# lines with # at the beginning are ignored and can be used to comment
--- 1,15 ----
# $Revision$
# the format of this file is following
! # hostmask_matching_glob=access_level
! # In globs, the only allowed wildcard is "*".
! # The access level for each command can be set in the source
# of the bot. By default 9 is the highest and gives access
# to all the admin commands, level 2 is enough to modify the
! # database.
!
! # In the interests of backwards compatibility, old-style lines of the
! # format
! # hostmask_matching_regex|access_level
! # are also supported. These will, however, be deprecated soon.
# lines with # at the beginning are ignored and can be used to comment
***************
*** 13,26 ****
# that's the hostmask I use and it gives me all privileges to the bot.
! duke\@linux\.ee|9
# that's someone who has read/write access to the database
! friend\@somewhere\.net|2
# read/write access to any person from a trusted host regardless of the ident
! .*\@trusted\.host|2
# someone who uses multiple subdomains in the same domain
# this gives the person access to the bot regardless of whether he
# is logged on from example lost.data.ee or cougar.data.ee
! cougar\@.*\.data\.ee|2
--- 19,32 ----
# that's the hostmask I use and it gives me all privileges to the bot.
! du...@li...=9
# that's someone who has read/write access to the database
! fr...@so...=2
# read/write access to any person from a trusted host regardless of the ident
! *@trusted.host=2
# someone who uses multiple subdomains in the same domain
# this gives the person access to the bot regardless of whether he
# is logged on from example lost.data.ee or cougar.data.ee
! cougar@*.data.ee=2
|