Re: pam_mount to avoid passwd uid
Stef Bon <[email protected]>
| Newsgroups | gmane.linux.pam |
|---|---|
| Message-ID | <CANXojcyS0yAEZeQDZa0z0o--SEB3GQpvAEHXoDSF1Gc74rsVjA@mail.gmail.com> |
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 <[email protected]>: > 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 > [email protected] > https://www.redhat.com/mailman/listinfo/pam-list _______________________________________________ Pam-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/pam-list