It is not hard to use crypt(3) to write a program that will read a password from a file, encrypt it, and put it into /etc/passwd. Read the man page. It is not recommended to keep unencrypted passwords lying around, though, since your passwords will be only as secure as the file containing them. --Joe Konczal konczal at mail-gw.ncsl.nist.gov