Hello, > Maybe you should try to compile your program with -lcrypt flag , like > > gcc -lcrypt -o output_file your_source.c Aren't library switches supposed to go on the end? Like this? gcc -o output_file your_source.c -lcrypt Order is important. HTH Jiri <jiri@baum.com.au>