File execwrap.README.SuSE of Package execwrap
README.SuSE for execwrap
--------------------------
As the parent uid has to be defined at compile time we cant use the
lighttpd user. The lighttpd user has a dynamic uid.
The wwwrun user on the other hand has a static uid. So we set the uid of
wwwrun at compile time.
For lighttpd users that means:
1. server.username = "wwwrun"
2. chown -R wwwrun /var/lib/lighttpd
The 2nd option:
Grab the source tarball and change the following line in
/usr/src/packages/SOURCES/execwrap-0.4_build.patch
[[[
#define PARENT_UID 30
]]]
Use 'id -u lighttpd' to get the number.
Than call rpmbuild -bb /usr/src/packages/SPECS/execwrap.spec.
The resulting rpm can be found in /usr/src/packages/RPMS.
Have a lot of fun...