Re: Determining if package installed
At 02:55 +0100 1998-12-26, Martin Schulze wrote:
If NIS services are used the last entry of the /etc/passwd file
should contain something like +::+.
Not necessarily, NIS may be used solely through NSS, in which case
the + hack may not be in use.
The `passwd', `group', and `shadow' databases are traditionally
handled in a special way. The appropriate files in the `/etc'
directory are read but if an entry with a name starting with a `+'
character is found NIS is used. This kind of lookup remains possible
by using the special lookup service `compat' and the default value for
the three databases above is `compat [NOTFOUND=return] files'.
Joel Klecker (aka Espy) <URL:http://web.espy.org/>
Debian GNU/Linux PowerPC -- <URL:http://www.debian.org/ports/powerpc/>