Hi senthil,

Just go through the below mentioned lines of required files like
auto.direct, auto.master & auto_home
Example of auto.direct
/tech           ServerX:/export/data/tech

Here your client m/c is mounting the exported data of ServerX to /tech,
means /export/data/tech is physically resides in ServerX & you shared
/export/data/tech to all m/cs in ServerX.

Example of auto.master

/-       auto_direct     -rw,intr
/net      -hosts          -nosuid
/home   auto_home
/tech auto_tech

In this example first 3 lines are default.

Example of auto_home

*       ServerX:/export/data/home/&

For this all home directories of users are physically reside in Serverx
& you have to share same stuff to all m/cs by editing /etc/exports at
ServerX.
Here auto_home is indirect map & auto_tech is direct map. I hope it will
solve your problem..

Regds,
santosh



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of senthil@jadooworks
Sent: Thursday, February 20, 2003 9:01 PM
To: [EMAIL PROTECTED]
Subject: Re: NIS problem


Hi Santhosh,

I was trying out that, I have exported a folder in NFS. But dont know
what
changes to make in /etc/auto.master.    I dont have auto.direct and
auto_home in my /etc/ path. Stuck here !!!  :-(

senthil


----- Original Message -----
From: "santosh kumar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 20, 2003 8:47 PM
Subject: RE: NIS problem


> In NIS server u have to define automount maps. For example u have all 
> user home directories on X m/c. Share that path by editing 
> /etc/exports Then edit the maps at NIS server like /etc/auto.direct, 
> /etc/auto_home & /etc/auto.master
> That's it while booting client it will mount user home directory
> automatically..
>
> Regds,
> santosh
>
> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]]
> On Behalf Of senthil@jadooworks
> Sent: Thursday, February 20, 2003 7:49 PM
> To: [EMAIL PROTECTED]
> Subject: Re: NIS problem
>
>
> Hello Martin,
>
> Thanks for the reply. I managed to fix the problem. I had not 
> configured the nssswitch.conf to use NIS thats all. Martin I would 
> like to ask you one more doubt which I have already asked in the list.

> I didnt want to trouble everyone with the same doubts again. Martin, 
> now that NIS works I am able to login and reach till the shell. But no

> home directory in the client system. Martin I would like to know if 
> there is any way where in I can run a script on the client end when I 
> log in as a NIS user? I f I am able to log in then I might be able to 
> create a home folder on the fly. Can you please help me ?
>
> regards
>
>
> senthil
> ----- Original Message -----
> From: "Martin Marques" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 20, 2003 7:07 PM
> Subject: Re: NIS problem
>
>
> > On Mié 19 Feb 2003 18:30, [EMAIL PROTECTED] wrote:
> > > Hi All,
> > >
> > > I was trying out NIS in my network. NIS ( ypserv) starts up and
> listening.
> > >  In the client system when I start ypbind the ypbind gets hooked 
> > > onto
> the
> > > NIS server. But when I try logging in to the system using a Userid

> > > which
> I
> > > created in the NIS server I am unable to.  Am I going wrong 
> > > somewhere ? please help me ...
> >
> > Hows your /etc/passwd configured on the client? Don't send it! Just 
> > tell
> us if
> > you put the line to auth against the NIS server.
> >
> > --
> > Porqué usar una base de datos relacional cualquiera,
> > si podés usar PostgreSQL?
> > -----------------------------------------------------------------
> > Martín Marqués                  |        [EMAIL PROTECTED]
> > Programador, Administrador, DBA |       Centro de Telematica
> >                        Universidad Nacional
> >                             del Litoral
> > -----------------------------------------------------------------
> >
> >
> >
> > --
> > redhat-list mailing list
> > unsubscribe 
> > mailto:[EMAIL PROTECTED]?subject=unsubscribe
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
>



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to