pam_mount to avoid passwd uid

Stef Bon stefbon at gmail.com
Sat Mar 31 10:11:08 UTC 2012


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




More information about the Pam-list mailing list