hi philippe

i'm sorta confused b your comment
but am assuming oyu want to automount /home amgonst
all your servers so that you can login on any machine
and happily keep working??

have a look at the autofs-HOWTO...

thanx
alvin
http://www.Linux-Consulting.com/AutoFS/autofs-HOWTO.html

simplified config...

a. on the home server... home.foo.com
        /home as an export in home.foo.com:/etc/exports
        - retart nfs

b.  on the clients
        # mv /home /home.original
        # mkdir /.autofs
        # ln -s /.autofs/home /

        manually test that you can mount the remote home server
        # mount home:/home /mnt/test

        # vi /etc/auto.master
                /.autofs        /etc/auto.home --timeout 600

        # vi /etc/auto.home
                home    -fstype=nfs     home:/home

        # restart autofs

        see if it worked..
        # ls -la /home
        # ls -ls /home/philippe

- you might need to fiddle with /etc/nfsswitch
  depending on yur lan and distros

- you may or may not wanna setup an NIS servers, w/ secondaries for
  login/password authentication...

check for errors/status in /var/log/messages or equivalent
                
have fun
alvin


On Fri, 25 May 2001, Philippe Derogis wrote:

>       Hi all,
> 
>   I am a newbee on this list, I get several
> linux box and several Xsever stations and
> user account are distributed on the linux boxes.
> I use nis (wich work fine) in order to sync all
> the groups and users ids and the computer ip as
> well. I export the home directorues of users from
> their computer through NFS. This thing that I want
> to have is that when a user <toto> perform a rlogin on
> a computer he find his home directory in /home/toto nfs
> automount or not depending on where is phisically his
> home directory. Is there a known (simple) way to do
> this whis NIS, NFS and autofs ???
> 
> Thanks in advance.
> 
> Philippe.
> 
> -- 
> Philippe Derogis
> Chief Technology Officer
> 
> Applied Acoustics Systems
> 1435 Bleury, Suite 510
> Montreal, Quebec, Canada H3A-2H7
> 
> Phone: 514 871-4963
> Fax:   514 845-1875
> Email: [EMAIL PROTECTED]
> Web  : http://www.applied-acoustics.com/
> 

Reply via email to