I also recommend a stored procedure call over SPC, since we know any
Informix client can call a stored procedure with no new front-end
pieces.
However, I'd recommend against writing a C program which directly
modifies the passwd/shadow file.
Instead, according (with much thanks to Lester Knutsen, who responded
to my earlier question), try the public domain utility to interact
with TTY programs (such as "passwd") called "Expect".
It is available on the Internet: Use your favorite search engine,
since I don't have the address handy.
...Terry.
tgauch@aol.com