*BSD News Article 36559


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!swiss.ans.net!news.dfn.de!news.belwue.de!news.uni-ulm.de!rz.uni-karlsruhe.de!darum.uni-mannheim.de!andrew
From: andrew@wipux2.wifo.uni-mannheim.de (Andrew Wheadon)
Newsgroups: comp.os.386bsd.questions
Subject: YP/rdist (was Re: Crypting passwords without passwd.)
Date: 5 Oct 1994 11:16:39 GMT
Organization: Rechenzentrum Uni-Mannheim
Lines: 30
Message-ID: <36u1un$kal@darum.uni-mannheim.de>
References: <36s8k8$9a6@sundog.tiac.net>
NNTP-Posting-Host: wipux2.wifo.uni-mannheim.de

In article <36s8k8$9a6@sundog.tiac.net>,
Brian McGovern <mcgovern@spoon.beta.com> wrote:
>process create a set of files, much in the format of master.passwd, to be 
>distributed to a limited number of machines to be used to actually create
>the user/password database on each of these machines. The application I'm 
>looking to write is a modification of "AddIt" that comes with the contrib 
>distribution. The problem is that each of these files will be alittle 
>different, and won't be run on the native machine, so calling (an unmodified)
>passwd won't work, and I can't have my users rlogin to all these machines 
>(like 8 or 10) and run passwd themselves. I'd like to just be able to call

Well at first it looks like you could use yp or rdist... But then you
say that the files will be different... After that mention people not
wanting to log into all machines to change their passwords.
Well if the master.passwd should be similar you can still use rdist.

I personally use a ypserv and rpc.yppasswdd  on a NetBSD-1.0_BETA/i386
and run ypbind on some diskless NetBSD-clients which is fairly
functional...but the ypserv is alpha code so take your choice.

If you do need different passwd-files on the machines you should
still be able to use rdist and maintain different copies of the files
on one machine. You could then use a script to replace the password of
joeuser in all files in which he is found... Still it's easier to maintain
the same copy on all machines.
Cheerio
-- 
The cost of living hasn't affected it's popularity. (unknown)
current	release=doc host=wipux2.wifo.uni-mannheim.de \ "NetBSD-current mirror"
hostbase=/mit/ftp/pub/NetBSD base=/usr prefix=/usr backup delete use-rel-suffix