[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NIS setup



<quote who="Tom Cook">
> nate wrote:
> [snip]
>> /etc/passwd
>> (after all the other entries)
>> +::0:0:::/dev/null
>>
>> /etc/group
>> (after all the other entries)
>> +:::
>
> What does this do?  Is this a cryptic reference to nis?

last time i read the NIS docs, it told the system to
send a query to the NIS server if it reaches the end of
the file and doesn't find anything ..i added the /dev/null
in there to replace all account's shells with /dev/null
so people can have login shells on other servers with NIS
just not that one.. take out the /dev/null if you want to
accept the shell that the NIS server passes along

there should be docs for NIS in /usr/share/doc

i'd check but the server that has NIS is going up and
down(see my prev post about apt-get killing it), and
i can only access the backed up data (/etc is one of
the stuff that is backed up..)

nate





Reply to: