Re: Possible with NIS Server

From: Juhan Leemet (juhan_at_logicognosis.com)
Date: 06/25/04


Date: Fri, 25 Jun 2004 14:20:48 -0200

On Fri, 25 Jun 2004 10:40:38 +0200, Oddbjørn Hansen wrote:

> Florian Hauser wrote:
>> Hey NG,
>>
>> I have a question about using a NIS Server (yellow pages).
>> There is one master NIS server connected to my network, which is
>> responsible for the passwd, group etc. files...it all works perfect.
>> My question now is: Is it possible to transfer or use other files at
>> the NIS server except passwd, group etc.? I didn't find any
>> information about it, so you are my last chance and try.
>> Do anyone of you know how to do it?
>
> If you are thinking about fileserving, then NFS is your answer.
>
> More info:
> http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/NFS-HOWTO.html

Yes, for general files. NIS really serves (simple database) maps.

I believe that it is also possible to create your own NIS maps, but I have
not done it. I haven't had a need to. The question would be: how to tell
ypserv to include your new map(s) in its service. Then you would also have
to write the access to those maps into your own programs and/or scripts.

Was the OP asking about files or maps? You're probably right: he asks
about files, but he mentions passwd, group, etc. which are accessed one
entry at a time, like a database. He might have to say what he wants to do.

-- 
Juhan Leemet
Logicognosis, Inc.


Relevant Pages

  • amd doesnt like NIS maps from a Windows NIS server
    ... Some of our machines use autofs type maps, ... As part of a move to single sign-on I've implemented a NIS server ... The autofs-using machines are OK, but amd just doesn't want to play. ...
    (freebsd-questions)
  • Re: Help diagnosing NIS breakage ?
    ... Ok, first, whoever is responsible for this NIS server ... yp_masterto check for the master.passwd maps succeeds, ... yppoll: no such map master.passwd.byname. ... I'm an idiot because I made a mistake in the patch I provided: ...
    (freebsd-current)
  • Re: hiding encrypted password in ypcat passwd
    ... # ypserv.conf In this file you can set certain options for the NIS server, ... # Some options for ypserv. ... # Not everybody should see the shadow passwords, not secure, since ... # look for YP_SECURE and YP_AUTHDES in the maps. ...
    (comp.os.linux.security)
  • NIS client question
    ... I have basic question regarding NIS client. ... does NIS client cache any maps from NIS server or does ... If it does caching,does NIS server propagate the maps whichever the ...
    (comp.os.linux.networking)
  • Re: FreeBSD NIS Server + Linux NIS clients
    ... > to my FreeBSD 4.8 NIS server, i can get ypcat passwd work but the ... > logins with the accounts of the NIS server fail. ... passwd: files nis ... verify that the Linux client can access the ...
    (freebsd-questions)