What is the directory specified by
getent passwd user1
(however you manage users; e.g., /etc/passwd, LDAP, NIS, Samba AD to PAM sid to uid/gid translation with idmap_rid in /etc/samba/smb.conf etc)?
You may be able to do what you want with automount multimaps...
On Mon, Feb 21, 2011 at 12:06 PM, chris job.fr <email@example.com> wrote:
The local directory is on the disl of the user's computer, but the pam
directory is a NFS file system. ÂThe user can use differents computers
and can find his data everywhere (on the pam directory). But he can do
something confidentially on his own system (a local directory).
ÂSometimes we have problem with the NFS storage and with this
solution (connection on the pam directory), the use can't connect
anywhere. The problem is on Unix.
ÂSo the symbolic link is not the solution.
2011/2/21 Guillaume Allegre <allegre.guillaume@xxxxxxx>:
> Le lun. 21 fïvr. 2011 Ã 16:09 +0100, chris job.fr a ecrit :
>> Â Hello,
>> Â Our users have two home directories : a local one (/home/user1) and
>> the "pam directory" (/pam/users1). ÂWhen a user goes on a unix
>> platform of the laboratory, he is automatically on the pam directory
>> Â Is it possible to do this thing : if the pam directory is
>> inaccessible, the user is automatically on their local directory
> Maybe you could explain how (and when) the /pam/* directories
> are mounted, and which filesystem ? nfs...
> A very basic solution would be to have each /pam/userN as a symbolic
> link on /home/userN, which would be the fallback.
> When automounting (?) is OK, it would be replaced by the real "shared" /pam/userN
> ÂÂ /\ Â ÂGuillaume AllÃgre Â Â Â Â Â ÂMembre de l'April
> Â/~~\/\ Â Allegre.Guillaume@xxxxxxx ÂPromouvoir et dÃfendre le logiciel libre
> Â/ Â /~~\ Â ÂtÃl. 04.76.63.26.99 Â Â Âhttp://www.april.org
> Pam-list mailing list
Pam-list mailing list
_______________________________________________ Pam-list mailing list Pam-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/pam-list