# This is a sample dgamelaunch configuration file. Only bash-style comments # are allowed, such as this. Each configuration option will be explained # along with its default value. # Global config variables: # Max amount of registered users to allow. Has no effect if dgl was # compiled with SQLite maxusers = 64000 # Allow registration of new nicks? (0 or 1) allow_new_nicks = 1 # Max length for newly registered nicks. Must be less than 20. # By default, NetHack only stores the first 10 chars of a name into # the record/logfile. maxnicklen = 10 # Path to a prepared chroot jail. chroot_path = "/var/lib/dgamelaunch/" # From inside the jail, dgamelaunch's working directory for rcfiles/ttyrec/etc dglroot = "/dgldir/" # From inside the jail, location of a banner file that contains no more than # 14 lines of 80-column width text. Any more will be truncated. # The topmost line will be shown even in submenus. # string $VERSION will be replaced with dgl version number. banner = "/dgl-banner" # The following two options are fairly insecure. They will force us to # load the password/group database into memory while still having root # privileges. Replace them with shed_uid/shed_gid entries as soon as # possible if you decide to use them. dgamelaunch will inform you of # the uids/gids corresponding to your choices when it loads. # # Note that shed_uid and shed_gid will always take precedence over # shed_user and shed_group if they are specified. # shed_user: username to shed privileges to #shed_user = "games" # shed_group: group name to shed privileges to #shed_group = "games" # Preferably, you may use the respective gids/uids. This is for Debian: shed_uid = 5 shed_gid = 60 # The defaults are usually just fine for this. passwd refers to the file # that stores the user database, and lockfile is only used internally by # dgamelaunch. # passwd doesn't matter if dgl was compiled with SQLite, as the name of # the sqlite database will be defined at compile time. passwd = "/dgl-login" lockfile = "/dgl-lock" # # define some commands that are run when something happens. format is # commands [