[suPHP] Best configuration for virtual users
Sebastian Marsching
sebastian at marsching.com
Mon Mar 31 23:46:01 CEST 2008
Hi Jorge,
Jorge Bastos schrieb:
> Any ideia what can i do here Sebastian?
I have not tested it, but basically suPHP should also work if there is
only a UID and GID. To use a numeric UID / GID in the Apache
configuration write
suPHP_UserGroup #100 #200
for UID 100 and GID 200 in this example.
If it does not work, it should be relatively easy to identify the code
sections that cause problems and change them.
Although I am not familiar with proFTPd, I still think that using
nsswitch.conf should also work: If proFTPd uses the database for
authentication, it should not be bothered by the changes to
nsswitch.conf as it probably does not use glibc() to resolve the
usernames. Other programs like suPHP could still resolve the usernames /
UIDs using glibc and the nsswitch.conf. If there is no NSS plugin for
your database, you could mirror the user information to an LDAP
directory using a trigger in the database and use this LDAP directory
for name resolution.
I think that there a plenty of ways to get what you want. You just have
to decide which way is the best for your needs and your environment.
Regards
Sebastian
More information about the suPHP
mailing list