http://securityportal.com/topnews/SRADV00002.html Isn't it pretty :-) DOH!! warning don't use strcpy ever. why not? just don't!! Dave. -- David Airlie, Software Engineer http://www.skynet.ie/~airlied / airlied at skynet.ie pam_smb / Linux DecStation / Linux VAX / ILUG person