Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Setting password from a shell script possible?
@ 1995-12-19  5:00 Malcolm Dunnett
  1995-12-21  5:00 ` JONQC
  0 siblings, 1 reply; 5+ messages in thread
From: Malcolm Dunnett @ 1995-12-19  5:00 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1995-12-27  5:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-12-19  5:00 Setting password from a shell script possible? Malcolm Dunnett
1995-12-21  5:00 ` JONQC
1995-12-21  5:00   ` Malcolm Dunnett
1995-12-24  5:00   ` Richard Warkentin
1995-12-27  5:00     ` PAUL D. CHAPIN

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