[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pam mk_homedir.so doesn't work for wu-ftpd



On Mon, Nov 13, 2000 at 06:55:22PM +0100, Nils Rennebarth wrote:
> When I insert the line
> 
> session required pam_mkhomedir.so umask=0002
> 
> directly after the line 
> 
> session required pam_unix.so
> 
> in /etc/pam.d/wu-ftpd, creating home directories on the fly doesn't work. It
> works if I do the same for /etc/pam.d/ssh or /etc/pam.d/su.
> Is this a bug of wu-ftpd?

Probably becase wu-ftpd does not try to setup a session (by calling
pam_{start,end}_session.

You might try using pam_mkhomedir as an account module, but I'm not sure
if that is built-in.

Ben

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: