mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.3 KiB

  1. # This is a sample dgamelaunch configuration file. Only bash-style comments
  2. # are allowed, such as this. Each configuration option will be explained
  3. # along with its default value.
  4. # The following two options are fairly insecure. They will force us to
  5. # load the password/group database into memory while still having root
  6. # privileges. Replace them with shed_uid/shed_gid entries as soon as
  7. # possible if you decide to use them. dgamelaunch will inform you of
  8. # the uids/gids corresponding to your choices when it loads.
  9. #
  10. # Note that shed_uid and shed_gid will always take precedence over
  11. # shed_user and shed_group if they are specified.
  12. # shed_user: username to shed privileges to
  13. #shed_user = "daemon"
  14. # shed_group: group name to shed privileges to
  15. #shed_group = "games"
  16. # Preferably, you may use the respective gids/uids. This is for Debian:
  17. shed_uid = 2
  18. shed_gid = 4
  19. # Max amount of registered users to allow.
  20. maxusers = 64000
  21. # Path to a prepared chroot jail.
  22. chroot_path = "/"
  23. # From inside the jail, the location of the binary to be launched.
  24. game_path = "/usr/games/lib/nethackdir/nethack"
  25. game_name = "NetHack"
  26. # From inside the jail, dgamelaunch's working directory for rcfiles/ttyrec/etc
  27. dglroot = "/usr/games/lib/dgamelaunch/"
  28. # From inside the jail, where dgamelaunch should put mail - should match up with
  29. # NetHack settings.
  30. spooldir = "/usr/games/lib/dgamelaunch/mail/"
  31. # From inside the jail, location of a banner file that contains no more than
  32. # 14 lines of 80-column width text. Any more will be truncated.
  33. banner = "/usr/games/lib/dgamelaunch/dgl-banner"
  34. # From inside the jail, the default .nethackrc that is copied for new users.
  35. rc_template = "/usr/games/lib/dgamelaunch/dgl-default-rcfile"
  36. # The defaults are usually just fine for this. passwd refers to the file
  37. # that stores the user database, and lockfile is only used internally by
  38. # dgamelaunch.
  39. passwd = "/usr/games/lib/dgamelaunch/dgl-login"
  40. lockfile = "/usr/games/lib/dgamelaunch/dgl-lock"
  41. # From inside the jail, the path to the savefile. %u is replaced by the
  42. # decimal representation of shed_uid, %n is replaced by the player's
  43. # user name. Before starting the game, this file is copied to its name
  44. # with ".bak" appended. Set to an empty string to disable this copying.
  45. savefilefmt = "/usr/game/lib/dgamelaunch/%u%n.gz"