From: dunnett@mala.bc.ca (Malcolm Dunnett)
Subject: Setting password from a shell script possible?
Date: 1995/12/19 [thread overview]
Message-ID: <1995Dec19.160036@malad2.mala.bc.ca> (raw)
Is there a program which will allow me to set a password from
within a script ( ie not prompt from the terminal but read the
password string from the script file ).
I'm trying to write a procedure to do a "bulk create" of accounts
(for setting up accounts for CSci classes). I've figured out how to
get the adduser portion to take its input from a script, but it appears
that regardless of what I do the passwd program always reads from the
terminal.
Do I need to reinvent the passwd program, has someone else already done
so, or is there a way to get passwd to do what I want.
adv(Thanks)ance
--
=============================================================================
Malcolm Dunnett Malaspina University-College Email: dunnett@mala.bc.ca
Computer Services Nanaimo, B.C. CANADA V9R 5S5 Tel: (604)755-8738
next reply other threads:[~1995-12-19 5:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-12-19 5:00 Malcolm Dunnett [this message]
1995-12-21 5:00 ` Setting password from a shell script possible? JONQC
1995-12-21 5:00 ` Malcolm Dunnett
1995-12-24 5:00 ` Richard Warkentin
1995-12-27 5:00 ` PAUL D. CHAPIN
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