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

Re: Directory check



> On Thursday 04 December 2003 7:26 am, Joerg Decker wrote:
> I want to install/use a PAM module that allows me to check whether a
> user's home directory exists. Only if it exists, he should be allowed
> to log in.
>
> Is there a module that does that or do I have to write one on my own?

We use:

session required /lib/security/pam_mkhomedir.so skel=/etc/skel/ umask=007

At the bottom of our /etc/pam.d/system-auth file.  




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