Pablo Schuhwerk | 30 Mar 2012 23:56
Picon

pam_mount to avoid passwd uid

Hi guys,


Could anyone help understand how could I get pam_mount not messing with my local users form /etc/passwd?

I'm using it for LDAP users get their homes automounted from NFS.
But it is overwriting my local homes for users from passwd file, when they login, it creates a new /home/$uid directory, overwriting
the original mounted from fstab.

Any help will be really appreciated.

Regards,

Ivan.
_______________________________________________
Pam-list mailing list
Pam-list <at> redhat.com
https://www.redhat.com/mailman/listinfo/pam-list
Stef Bon | 31 Mar 2012 12:11
Picon

Re: pam_mount to avoid passwd uid

Well why do you use pam_mount for automounting the homes directories?
Using the automounter only is enough. But then you have to use
something like:

/home/... for local users
/home.remote/... for remote users

or something simular.

And then setup the automounter to mount the users home directory
when accessing /home.remote/X. I'm not familiar with nfs, but the
automounter offers various abilities to mount from nfs. This setup is
access based, and not PAM.

Stef

2012/3/30 Pablo Schuhwerk <zen.suite <at> gmail.com>:
> Hi guys,
>
> Could anyone help understand how could I get pam_mount not messing with my
> local users form /etc/passwd?
>
> I'mĀ using it for LDAP users get their homes automounted from NFS.
> But it is overwriting my local homes for users from passwd file, when they
> login, it creates a new /home/$uid directory, overwriting
> the original mounted from fstab.
>
> Any help will be really appreciated.
>
> Regards,
>
> Ivan.
>
> _______________________________________________
> Pam-list mailing list
> Pam-list <at> redhat.com
> https://www.redhat.com/mailman/listinfo/pam-list

_______________________________________________
Pam-list mailing list
Pam-list <at> redhat.com
https://www.redhat.com/mailman/listinfo/pam-list

Gmane