[Mono-dev] [PATCH] Bug in Mono.Posix handling '+::::::' entry in /etc/passwd

Robert Jordan robertj at gmx.net
Mon Apr 27 17:41:56 EDT 2009

Jonathan Pryor wrote:
> So why do you have '+::::::' in your /etc/passwd to begin with?  That's
> not a valid entry anyway (no user id)!

It's for NIS.

'+::::::' -> include all users returned by the NIS passwd map.
'-::::::' -> allow only local users.
'+robertj::::::' -> include only 'robertj'
'-robertj::::::' -> exclude robertj.

The question is: why are those entries returned in the first
place by getpwent on the machine of the OP?


More information about the Mono-devel-list mailing list