[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Unix : home directory



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 <chrisjob.fr@gmail.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.

Thank you
Chris

2011/2/21 Guillaume Allegre <allegre guillaume free fr>:
> 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
>> (/pam/users1).
>>   Is it possible to do this thing : if the pam directory is
>> inaccessible, the user is automatically on their local directory
>> (/home/user1).
>>
>
> 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 free fr  Promouvoir et défendre le logiciel libre
>  /   /~~\    tél. 04.76.63.26.99      http://www.april.org
>
> _______________________________________________
> Pam-list mailing list
> Pam-list redhat com
> https://www.redhat.com/mailman/listinfo/pam-list

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]