*BSD News Article 46135


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!sol.ctr.columbia.edu!startide.ctr.columbia.edu!wpaul
From: wpaul@ctr.columbia.edu (Bill Paul)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: yppasswdd dont works ...
Date: 24 Jun 1995 16:43:20 GMT
Organization: Columbia University Center for Telecommunications Research
Lines: 46
Message-ID: <3shfb8$qso@sol.ctr.columbia.edu>
References: <3sg9gm$8sf@news.cs.tu-berlin.de>
NNTP-Posting-Host: startide.ctr.columbia.edu
X-Newsreader: TIN [version 1.2 PL2]

Daring to challenge the will of the almighty Leviam00se, Lars Hentschke
(nuggets@cs.tu-berlin.de) had the courage to say:

: Hi

: I've tried to use NIS, only these two things wont work:

: 1. yppasswdd says while changing my password:
:  yppasswdd[81]: update nuggets (uid=400) from host 10.1.1.7 failed
:  yppasswdd[81]: Invalid characters in argument. Possible spoof attempt?

:  But if I change my shell, it works. I dont use DES. 

Hurm... I need to check into this. yppasswdd will refuse to use
certain characters, most notably colons, as part of passwords or
other user-supplied strings as a security measure (allowing the
user to put extra colons in the password database is a no-no).
It may also reject passwords that are too long, and the passwords
generated by the default MD5 encryption are much longer than standard
DES passwords. I'll get back to you on this after I investigate.

: 2. how do i setup local /etc/netgroup on NIS-clients, so that entries
:  are filled from my NIS-server

Just create an /etc/netgroup file on the client with only a + in it.
Unlike other systems, FreeBSD can read netgroups from both local files
*and* from NIS. You can even mix and match.

Note that you can also create /etc/ethers and /etc/bootparams files
that have just a + in them to allow your client to read ethers
and bootparams data from NIS as well.

: Lars.

: | email:nuggets@cs.tu-berlin.de    OR    nuggets@tworivers.bln.sub.org (home) |

-Bill

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~T~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Bill Paul            (212) 854-6020 | System Manager
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Møøse Illuminati: ignore it and be confused, or join it and be confusing!
~~~~~~ "Welcome to All Things BSDish! If it's not BSDish, it's crap!" ~~~~~~~