> | I need your help desperately. I am setting up a web site and I want to
> | have users be able to add themselves to my linux system through a web
> | page. They should be able to add themselves as a user and set their
> | passwords.
> Maybe someone has written such a thing in C/C++ already.
I wrote a similar program for SAMBA. It's a CGI C++ program that runs as nobody. Then an
admin program that run's in root's crontab every... say minute or so... It looks for a
special database file whose permissions are set to 0400, owned by root. And when the
cron job kicks up, it runs the smbpasswd command using the data in the file. However, it
WILL NOT change the user's password if his old one doesnt check out with what he said
his old password was.
But like i said... it was designed for SAMBA password. Prolly a few hours of hacking
some bad code (my boss needed it right away) and you can make it work for the regular
> Phil Howard KA9WGN
ps: phil ehhe, n2wog here! ;)
"We're really missing you
and you've only just gone
You were punched, you fell, and
you felt embarrassed
My heart goes out to you
So I offered love and it was not
What else can I do?"