tech-userlevel archive

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

Re: NIS and /etc/passwd



On Sun, Nov 10, 2013 at 10:33:22PM +0100, Joerg Sonnenberger wrote:
> 
> NSS can express at least the part of "look into passwd and continue if
> no match was found". It would be easy to have a NIS config file to
> express "look for / accept the following users/groups/patterns". As
> such, I don't see the need for keeping it in /etc/passwd. In fact,
> having such a filter functionality would likely be useful for a number
> of data sources. It could certainly make the code much clearer by
> prodiving composition of independent modules.
> 

But what it cannot do is "this user account is in NIS, use all the
details but override the users home directory or shell", this can be a
very useful thing to do sometimes.

-- 
Brett Lymn
"Warning:
The information contained in this email and any attached files is
confidential to BAE Systems Australia. If you are not the intended
recipient, any use, disclosure or copying of this email or any
attachments is expressly prohibited.  If you have received this email
in error, please notify us immediately. VIRUS: Every care has been
taken to ensure this email and its attachments are virus free,
however, any loss or damage incurred in using this email is not the
sender's responsibility.  It is your responsibility to ensure virus
checks are completed before installing any data sent in this email to
your computer."




Home | Main Index | Thread Index | Old Index