Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Aug 2003 12:53:04 +0100
From:      Bruce M Simpson <bms@spc.org>
To:        Antoine Jacoutot <ajacoutot@lphp.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: pam_mkhomedir
Message-ID:  <20030830115304.GF10427@spc.org>
In-Reply-To: <200308301009.14532.ajacoutot@lphp.org>
References:  <200308301009.14532.ajacoutot@lphp.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 30, 2003 at 10:09:14AM +0200, Antoine Jacoutot wrote:
> If I remember, pam_mkhomedir was in the contrib section under 4.x. Any idea 
> why it is not part of FreeBSD anymore ? Or do you know any other way of 
> auto-creating users homedir ?

My virtual hosting setup does this through ProFTPD and doesn't use PAM.
The problem with this is that you need to be running as root, or as a
user or group which can create under /home, or have the sticky bit on /home.

I see the source under RELENG_4 as: /src/contrib/libpam/modules/pam_mkhomedir

I can't think of any major reasons why you couldn't just continue using this
if it worked for you before. It would probably work from login. sshd might
require you to enable UseLogin yes in sshd_config.

BMS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030830115304.GF10427>