*BSD News Article 36581


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!swrinde!sgiblab!cs.uoregon.edu!reuter.cse.ogi.edu!netnews.nwnet.net!ns1.nodak.edu!plains.NoDak.edu!tinguely
From: tinguely@plains.NoDak.edu (Mark Tinguely)
Subject: Re: Crypting passwords without passwd.
Sender: usenet@ns1.nodak.edu (Usenet login)
Message-ID: <Cx7GMI.qw0@ns1.nodak.edu>
Date: Wed, 5 Oct 1994 15:06:18 GMT
References: <36s8k8$9a6@sundog.tiac.net>
Nntp-Posting-Host: plains.nodak.edu
Organization: North Dakota State University
Lines: 14

In article <36s8k8$9a6@sundog.tiac.net> mcgovern@spoon.beta.com (Brian McGovern) writes:
>
> I would like to be able to have a 
>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.

build the file in the format of the master.passwd file (use two random seed
charaters fed into crypt to build the password, for an example see:
/usr/src/usr.bin/passwd/local_password.c), send it to the remote machine
and then run /usr/sbin/pwd_mkdb on the file. Be careful about security
holes you may introduce in the remote copy/remote shell commands.

--mark.