9 Aug
2007
9 Aug
'07
8:56 p.m.
On Fri, 2007-07-06 at 11:29 +0200, Steffen Kaiser wrote:
/* setup environment - set the most important environment first (paranoia about filling up environment without noticing) */ restrict_access_set_env(system_user, uid, gid, chroot_dir, set->first_valid_gid, set->last_valid_gid, set->mail_extra_groups);
system_user is not set.
This is true for both local and LDAP users.
It should be set if you use userdb passwd. For other userdbs you need to return it youself. For example with LDAP:
user_attrs = uid=system_user,..etc..
What about the other part of the patch, is it needed if system_user is set?