=Automount ( only home directory of tizio and name service NIS and none)

2007-12-25 9:33:00

=========================================================================

QUESTION

--------

( FIRST CASE )

  Solaris2.3 Solaris2.3 ( CLIENT )

  ---------- ------------

 /export/home/tizio automount

( SECOND CASE )

  Solaris2.3 Solaris4.1.3 ( CLIENT )

 ------------ -------------

/export/home/tizio automount

========================================================================================

ANSWER

=========================================================================================

File: /etc/auto_home /etc/auto_master on Solaris2.3

       /etc/auto.home /etc/auto.master on Solaris4.1.3

Solaris2.3 auto_home ( client )

    +auto_home

     tizio -rw,nosuid Solaris2.3(server):/export/home/tizio

Solaris2.3 auto_master

    +auto_master

    /net -host -nosuid

    /home auto_home

Solaris4.1.3 auto.home ( client )

    

     tizio -rw,nosuid Solaris2.3(server):/export/home/tizio

Solaris4.1.3 auto.master

        

    /home auto.home

  ---------------------

    

a) account for tizio in Server Solaris2.3 ( in this case , my example, on Solaris2.3 )

   ( ex. with admintool )

b) share -F NFS -o rw=Solaris2.3(client):Solaris4.1.3 /export/home/tizio

c) on SOlaris2.3 ( client ) and Solaris4.1.3

      

   c.1) tizio:x:number:group::/home/tizio:/bin/sh

    number: ex. 123 ( depend cleary )

    group: idem

d) If you running NIS then /var/yp/make

       If you running NIS+ then add entry to auto_home auto_master on NIS+ master

e) in Solaris4.1.3 open /etc/rc.local

      if [-f /usr/etc/automount];then

          automount && echo -n 'automount'

       

     fi

                               echo '.'

f) in Solaris2.3

     /etc/init.d/autofs start

    

Comments

Got something to say?

You must be logged in to post a comment.