Mailinglist Archive: opensuse (2114 mails)
| < Previous | Next > |
Re: [opensuse] PAM mk_homedir when coming through SSH
- From: Verner Kjærsgaard <vk@xxxxxxxxxxxxx>
- Date: Mon, 3 Sep 2007 14:46:09 +0200
- Message-id: <200709031446.09536.vk@xxxxxxxxxxxxx>
Mandag 03 september 2007 09:21 skrev Gaël Lams:
> Hi,
>
> > - What if the user comes in (for the first time) though SSH,
> > authenticates against the AD, and then wants a home-dir to be created.
> > Which PAM file (in /etc/pam.d) should I modify? And what should I write
> > in it?
>
> Here is what I use on my linux boxes with ssh configured to
> authenticate through ldap:
>
> # Modify /etc/pam.d/common-session
>
> echo 'session required pam_mkhomedir.so skel=/etc/skel/ umask=027' >>
> /etc/pam.d/common-session
>
> Regards,
>
> Gael
- in short; thanks !
--
-------------------------------------------------------------------------
Med venlig hilsen/Best regards
Verner Kjærsgaard
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
> Hi,
>
> > - What if the user comes in (for the first time) though SSH,
> > authenticates against the AD, and then wants a home-dir to be created.
> > Which PAM file (in /etc/pam.d) should I modify? And what should I write
> > in it?
>
> Here is what I use on my linux boxes with ssh configured to
> authenticate through ldap:
>
> # Modify /etc/pam.d/common-session
>
> echo 'session required pam_mkhomedir.so skel=/etc/skel/ umask=027' >>
> /etc/pam.d/common-session
>
> Regards,
>
> Gael
- in short; thanks !
--
-------------------------------------------------------------------------
Med venlig hilsen/Best regards
Verner Kjærsgaard
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |