Date: Tue, 21 Sep 1999 23:14:52 -0700 (PDT) From: Alfred Perlstein <bright@wintelcom.net> To: Daniel Folkinshteyn <dfolkins@net72-105.student.yale.edu> Cc: Jonathan Chen <jonc@logisticsoftware.co.nz>, freebsd-questions@FreeBSD.ORG Subject: Re: noninteractive password change Message-ID: <Pine.BSF.4.05.9909212313520.6368-100000@fw.wintelcom.net> In-Reply-To: <Pine.BSF.4.05.9909220055260.7885-100000@net72-105.student.yale.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 22 Sep 1999, Daniel Folkinshteyn wrote: > On Wed, 22 Sep 1999, Jonathan Chen wrote: > > On Wed, 22 Sep 1999, Daniel Folkinshteyn wrote: > > > > > hey. > > > i want to change the password of a user noninteractively through a script > > > run by crontab at regular intervals. > > > is that possible? what program(s) would i use for that? > > > > pw(8) is what you want. > > this is a quote from 'man 8 pw', for the option 'pw usermod -h fd': > > This option provides a special interface by which interactive scripts can > set an account password using pw. > > note _interactive_. i need it to be automatic, with absolutely no user > input? or am i just not getting something here? Yes, you're not even trying his suggestion, try it. thanks, -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9909212313520.6368-100000>