[Re: [lug] Web scripts?]

Sean Reifschneider jafo at tummy.com
Wed Nov 29 18:53:25 MST 2000


On Wed, Nov 29, 2000 at 07:02:14AM -0700, Justin wrote:
>Well I assumed this has already been done somewhere. I would like some
>pre-built scripts or something that I can modify to my taste, I'm no
>programmer by any means so building something from scratch would be a pain for
>me  :)

Have you looked at the passwd command?  Specifically, the "--stdin"
option?  You'll need to validate the old password first, but this will
allow you to change it.  At one point I wrote something that would take
"user:old:new" via stdin, and would validate the old password and change
it only if that password was correct, but the above should work as well
if not better -- I mean you KNOW where that program is...

Sean
-- 
 What country is lead by the son of the past leader, former head of the
 secret police, whos brother governs the state that could tip the vote?
Sean Reifschneider, Inimitably Superfluous <jafo at tummy.com>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python




More information about the LUG mailing list