Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: nance@niehs.nih.gov (Bob Nance)
Subject: passwd redirection
Date: 13 Jul 1994 18:45:09 GMT	[thread overview]
Message-ID: <301cnl$1of@jeeves.niehs.nih.gov> (raw)

Hi all!

	I have a need to run the passwd application and have it
take input from stdin. This is how I'd like to do it...

	% passwd < secure_password_change_file

where the file contains:

	oldpassword
	newpassword
	newpassword

Unfortunately, it appears that passwd does not read from stdin, so
this does not work. Does anyone have any ideas on a way to do this?

-- 
+---------------------------------------------------------+
| Bob Nance                           nance@niehs.nih.gov |
| Senior Network Engineer                 N4WWN / General |                 
| ISN                                 (919) 361-9422 x238 |
| The National Institute of Environmental Health Sciences |
+---------------------------------------------------------+


             reply	other threads:[~1994-07-13 18:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-07-13 18:45 Bob Nance [this message]
1994-07-15 15:10 ` passwd redirection Roberto Dorich
1994-07-17 12:23   ` A. Andrew Brennan
1994-07-16 18:18 ` Gary Newman
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox