Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!News.LiveNet.Net!Clifford.LiveNet.Net!odinn From: Jim Sloan <odinn@LiveNet.Net> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: help on NIS client Date: Fri, 12 Jul 1996 17:27:59 -0400 Organization: LiveNet, Inc. Lines: 45 Message-ID: <Pine.BSD/.3.91.960712172533.4417B-100000@Clifford.LiveNet.Net> References: <4qumb6$pk6@overload.lbl.gov> <4qvo0e$9me@uhura.phoenix.net> <4s0pa6$ngs@overload.lbl.gov> <Pine.BSD/.3.91.960711000001.6764C-100000@clifford.livenet.net> <4s3rh6$dia@overload.lbl.gov> NNTP-Posting-Host: clifford.livenet.net Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <4s3rh6$dia@overload.lbl.gov> On 11 Jul 1996 jin@gracie.lbl.gov wrote: > Date: 11 JUL 1996 21:25:58 GMT > From: jin@gracie.lbl.gov > Newgroups: comp.unix.bsd.freebsd.misc > Subject: Re: help on NIS client > > In article <Pine.BSD/.3.91.960711000001.6764C-100000@clifford.livenet.net>, > Jim Sloan <jsloan@LiveNet.Net> wrote: > >On 10 Jul 1996 jin@gracie.lbl.gov wrote: > >[ portion deleted ] > >> > >> Now, I'd like to get help on add such user +:::::::: to the passwd database > >> from a script, not using interactive vipw. > > > >echo "+::::::::" >> /etc/master.passwd; pwd_mkdb > > Thanks for the solution, it works. > > > -- > /-------------- Jin Guojun ------------ v ---- Internet: g_jin@lbl.gov ----\ > | Imaging & Distributed Computing | Usenet: ucbvax!g_jin@lbl.gov | > | Lawrence Berkeley Laboratory | Bitnet: -- | > | 50B-2239, Berkeley, CA 94720 - jin%george.lbl.gov@Csa3.LBL.Gov | > > I have created many little scripts like this for mundane jobs, like adding IP's for virtual servers which configures the server on the fly while at the same time setting up the server to add it in incase of reboot. When dealing with several machines, it is much easier creating scripts than to hand enter everything. :) ------------------------------------------------------------------------ Jim Sloan jsloan@livenet.net Vice President/Engineer LiveNet, Inc. 413 Davis St. Suite 106 Full Service Internet Provider Virginia Beach VA 23462 Dialup and dedicated connections Ph: 804-499-9328x103 Virtual Web, Email, and FTP hosting http://www.livenet.net info@livenet.net webmaster@livenet.net ------------------------------------------------------------------------