From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,45e0ddf97f5f58c9,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-07-13 12:59:26 PST Path: bga.com!news.sprintlink.net!hookup!swrinde!howland.reston.ans.net!spool.mu.edu!darwin.sura.net!jeeves.niehs.nih.gov!niehs.nih.gov!bob From: nance@niehs.nih.gov (Bob Nance) Newsgroups: comp.unix.osf.osf1 Subject: passwd redirection Date: 13 Jul 1994 18:45:09 GMT Organization: The National Institute of Environmental Health Sciences Sender: bob@niehs.nih.gov (Bob Nance) Distribution: world Message-ID: <301cnl$1of@jeeves.niehs.nih.gov> Reply-To: nance@niehs.nih.gov NNTP-Posting-Host: henry.niehs.nih.gov Keywords: passwd security 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 | +---------------------------------------------------------+