Sudhakar i gave you the other m/ c's auto.master

here is the auto.master
/misc  /etc/auto.misc

auto.misc
/dev/hda1  fs=msdos -nosuid


Sudhakar Chandra wrote:

> Raghunath L proclaimed:
> > Is it posible to automount the home directories like nfs implimentation in
> > solaris,if yes
>
> It is possible.  This is what is done @ my work.
>
> > Please tell me how to do home dir maping ueing autofs
>
> Step 1: The home directory of the users should physically exist on some
> machine.  You should also be running NFS on this machine.  Let us say
> that the physical home directories are under /home on this machine.
> Export /home through NFS.
>
> Step 2: For conveneience sake,  let us assume that the user's
> automounted home directory on the client machines will be /u/username
> instead of /home/username.  We will follow this convention to
> distinguish between physical local users (who will be under /home) and
> network users who will be under /u.  Make sure that the NIS server has
> an entry for user foo in the passwd file in the following format:
>
> foo:ENCPASSWD:1984:1234:Foo Bar:/u/foo:/bin/bash
>
> Also, the auto.master map on the NIS server should have a line like so:
>
> /u auto.home    -nosuid
>
> The auto.home map should have entries like so:
>
> foo home-server-machine:/home/foo
>
> Step 3:  From the client machine you should first be able to see the
> passwd file on the NIS server.  You can do this by 'ypcat passwd | grep
> foo'
>
> Sep 4: The autofs daemon can automount locally specified stuff and stuff
> specified in the NIS maps (a map called auto.master).  Edit
> /etc/auto.master on the client machine.  It should look like so:
>
> /misc /etc/auto.misc
> +auto.master
>
> The first line says that anything under /misc is to be automounted as
> specified in /etc/auto.misc.  The '+auto.master' says that every map
> listed in the NIS map auto.master should also be mounted.
>
> Step 4: Restart the autofs daemon /etc/rc.d/init.d/autofs restart.  Now
> if you type mount, you should see that /u (as specified in auto.master)
> is mounted.
>
> Step 5: Login as user foo and see how it works.
>
> > I tried autofs for automonting the windows partition when ever i visit /misc
> > folder.
> >
> > I have configure auto.master and auto.misc also service autofs is running but it
> > never monted the partition.
>
> Can you give me the entriees you had for auto.master and auto.misc.
> I'll be able to help you if I got more info.
>
> Thaths
>
> ----------------------------------------------
> The mailing list archives are available at
> http://lists.linux-india.org/cgi-bin/wilma/LIH

--
Regards
RaghuNath
WSS-Team
TexasInstruments
Living on Earth is expensive, but it does include a free trip
round the sun




----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr

Reply via email to