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.

38 lines
970B

  1. /*
  2. User configuration for ExecWrap. Please review ALL items in this file, before you compile.
  3. Remember, the security of your system depends on getting these right!
  4. See the README for documentation.
  5. */
  6. /* Our parent must have this UID, or we will abort. */
  7. #define PARENT_UID 106
  8. /* Minimum UID we can switch to. */
  9. #define TARGET_MIN_UID 1000
  10. /* Minimum GID we can switch to. */
  11. #define TARGET_MIN_GID 100
  12. /* Path prefix all targets must start with. */
  13. #define TARGET_PATH_PREFIX "/var/www/light/"
  14. /* Default UID to switch to, if none given. */
  15. #define DEFAULT_UID 65534
  16. /* Default GID to switch to, if none given. */
  17. #define DEFAULT_GID 65534
  18. /* Require users to have pwents (i.e. entries in /etc/passwd or similar)? */
  19. #define REQUIRE_PWENT 0
  20. /* Allow use of the CHECK_GID mode? */
  21. #define ALLOW_CHECKGID 1
  22. /* Use syslog to report errors */
  23. #define USE_SYSLOG 1