Here's another idea:
I'm not sure if OpenBSD supports PAM yet (FreeBSD does..). If it does, you can use Authen::PAM to change passwords. A while back, I'd submitted a a node showing how to use Authen::PAM to change a password.
In reply to Re: Exec Fork Trick
by kschwab
in thread Exec Fork Trick
by ginseng
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |