pretty smooth, I must say.
VP of Color LaserJet Printing
and also Systems Engineer
Adam Lang
Rutgers Casualty Insurance Company
www.rutgersinurance.com
----- Original Message -----
From: "Paul" <paul@d...>
To: "professional php" <pro_php@p...>
Sent: Monday, August 27, 2001 10:27 AM
Subject: [pro_php] Re: change password
> This is from the passwd man page: --stdin This option is used to indicate
that
> passwd should read the new password from standard input, which can be
a
> pipe.
>
> Try something like this: passwd --stdin username < filename
>
> Place the new password in the file. The new password will not be checked
for
> strength.
>
>
>
> > I was thinking about this the other day.
> >
> > What about using exec() and sudo to call the passwd function?
> >
> > Hmm... but I guess that wouldn't work either since it prompts for the
> > password afterwords.
>
> --
> ~
> . .
> /V\
> // \\
> /( )\
> ^`~'^
>
>