*BSD News Article 88208


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!newsfeeds.sol.net!homer.alpha.net!not-for-mail
From: Kyle Howard <kyle@hnet.net>
Newsgroups: comp.unix.bsd,comp.unix.bsd.freebsd,comp.unix.bsd.bsdi.misc
Subject: a script to call chpass, make the change, then continue
Date: Mon, 03 Feb 1997 13:40:18 -0600
Organization: Hillman Consulting Services, Inc.
Lines: 13
Message-ID: <32F63F22.622C@hnet.net>
Reply-To: kyle@hnet.net
NNTP-Posting-Host: kyle.hcsinc.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (Win95; I)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd:16870 comp.unix.bsd.bsdi.misc:5850

Hello all,

I am writing a shell script that makes changes to user's info.  Among
other tasks (that it performs correctly), I want the script to call
chpass (chpass $username), maks a change and save it, then continue to
the next task (which it performs correctly).  I am using vi to write the
script, and when I call chpass normally, I use vi to edit it.  

Please help with your ideas via e-mail.  Your help is very much
appreciated.
-- 
 Most sincerely
Kyle