Manjit, If you have the source to the passwd program then you can do what you want. I have done something similar to what you are looking for. Philip Smith Systems Programmer University of Windsor