[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[OpenBSD] Restricting NIS?
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: [OpenBSD] Restricting NIS?
- From: Fonz <avwerven_(_at_)_liacs_(_dot_)_nl>
- Date: Mon, 21 Jul 2003 16:31:26 +0200 (CEST)
Hi,
Over the weekend I got OpenBSD up and running, thanks to those who helped
out. Anyway, I set the machine up as NIS server, but then I found out that
*all* passwd and group entries are exported into the map. I'd like to
export only those entries with uid or gid above a certain number, in
other words I'd like to exclude system accounts/groups from NIS.
An IRIX implementation of NIS that I worked with some time ago had a
variable in /var/yp/Makefile that did just what I want, but OpenBSD's
(3.3/hppa, in case it matters) implementation doesn't seem to have this
feature. Do I have to manually hack /var/yp/Makefile.yp or is there a more
elegant solution?
Thanks in advance,
Alphons
--
A. van Werven http://www.liacs.nl/~avwerven
Leiden Institute of Advanced Computer Science, The Netherlands
Funny how they [women] always want to be friends after they rip
your guts out. -- from the movie Starship Troopers
Visit your host, monkey.org