[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] 2 commits: README.public_html_with_PHP-CGI+suExec.md: Some fine-tuning of the wording.
Mike Gabriel (@sunweaver)
gitlab at salsa.debian.org
Wed Jan 19 20:39:22 GMT 2022
Mike Gabriel pushed to branch master at Debian Edu / debian-edu-config
Commits:
cfbe8882 by Mike Gabriel at 2022-01-19T21:36:00+01:00
README.public_html_with_PHP-CGI+suExec.md: Some fine-tuning of the wording.
- - - - -
df6734b4 by Mike Gabriel at 2022-01-19T21:37:57+01:00
debian/changelog: update from Git history
- - - - -
2 changed files:
- README.public_html_with_PHP-CGI+suExec.md
- debian/changelog
Changes:
=====================================
README.public_html_with_PHP-CGI+suExec.md
=====================================
@@ -27,8 +27,8 @@ performance wasting mode (libapach2-mod-phpX -> phpX-cgi).
## Test built-in PHP
-Here is a simply PHP script for testing proper interpretation and
-checking that the suExec'ing really works
+Here is a simple PHP script for testing PHP interpretation privileges and
+checking later on that the suExec'ing really works:
```
<?php
@@ -58,7 +58,7 @@ set ``php_admin_flag engine on``.
When opening the URL ``http://www.intern/~<user>/id.php`` it should show this simple web page:
```
-hello, this script runs as user 'www-data '
+hello, this script runs as user 'www-data'
```
As enabling the built-in PHP engine (running as user www-data) is
@@ -135,3 +135,10 @@ drwx-----x 20 <user> <primgroup> 4096 19. Jan 20:35 ..
-rwx------ 1 <user> <primgroup> 90 19. Jan 20:35 id.php
```
+
+When opening the URL ``http://www.intern/~<user>/id.php`` now, it should
+show the owning user as account this script has been run under:
+
+```
+hello, this script runs as user '<user>'
+```
=====================================
debian/changelog
=====================================
@@ -13,6 +13,14 @@ debian-edu-config (2.12.16) UNRELEASED; urgency=medium
* share/debian-edu-config/tools/setup-freeradius-server: Fix integer
comparison in run-by-root check. Script was not executable fully (not even
as root).
+ * etc/apache2/mods-available/debian-edu-userdir.conf:
+ - White-space cleanup (tabs and spaces mixed).
+ - Disable built-in PHP engine.
+ - Add warning to not re-enable PHP interpretation in user dirs (with
+ reference to our README).
+ * README.public_html_with_PHP-CGI+suExec.md:
+ - Provide documentation on how to enable suExec support in https userdirs
+ (i.e. ~/public_html).
-- Mike Gabriel <sunweaver at debian.org> Fri, 14 Jan 2022 22:21:27 +0100
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/compare/6bd42c5ef8abf415d331d3f135295357d24746d8...df6734b44c7bdc903e28a4b7a45a1be2501d8b4d
--
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/compare/6bd42c5ef8abf415d331d3f135295357d24746d8...df6734b44c7bdc903e28a4b7a45a1be2501d8b4d
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20220119/36fe8ce6/attachment-0001.htm>
More information about the debian-edu-commits
mailing list