Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: pdchapin@unix.amherst.edu (PAUL D. CHAPIN)
Subject: Re: Setting password from a shell script possible?
Date: 1995/12/27	[thread overview]
Message-ID: <4brknk$d3r@amhux3.amherst.edu> (raw)
In-Reply-To: 4bkvaf$rbp@its.hooked.net

Richard Warkentin (rdw@hooked.net) wrote:

: >                setpass ${USER} ${PASSWD}
: > 
Potential problem here is that is somebody does the right ps command
while this is happening, they get to see the username and password
being set up.  There are a couple of ways of handling this including
disabling ps or going down to single user mode.  I've set it up to put
the information in a temporary file and then invoke expect using the
command file rather than command line arguments.

--

Paul Chapin
Unix Systems Manager
Amherst College




      reply	other threads:[~1995-12-27  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]
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