Re: Possible with NIS Server
From: Juhan Leemet (juhan_at_logicognosis.com)
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:
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.