Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: tqbf@char-star.rdist.org (Thomas H. Ptacek)
Subject: Re: Program to change password upon login
Date: 1997/01/14	[thread overview]
Message-ID: <slrn5dnsfb.hcv.tqbf@char-star.rdist.org> (raw)
In-Reply-To: 32DBB2C4.4BB4@niehs.nih.gov


Tue, 14 Jan 1997 11:22:28 -0500 shrewsbu@niehs.nih.gov:
>I need a program that will change a new unix user's
>password when they first login.  It needs to work with
 
I don't know of anything that's already available right now, but this is a
fairly trivial thing to write. Assuming you want users to change passwords
interactively (and not just get assigned a different password), this is as
simple as setting the user's shell to a program that forks and execs
passwd(1), and then execs the user's default shell. 

Be more specific as to what you want to have happen.

----------------
Thomas Ptacek at EnterAct, L.L.C., Chicago, IL [tqbf@enteract.com]
----------------
exit(main(kfp->kargc, argv, environ));





  reply	other threads:[~1997-01-14  5:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-14  5:00 Program to change password upon login David Shrewsbury
1997-01-14  5:00 ` Thomas H. Ptacek [this message]
1997-01-14  5:00 ` John Pezzano
1997-01-15  5:00   ` Thomas H. Ptacek
1997-01-15  5:00 ` Frank Sweetser
1997-01-15  5:00 ` Marc SCHAEFER
1997-01-15  5:00 ` Jim Foster
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