On Wed, Oct 18, 2000 at 04:48:16PM -0700, Peter Jay Salzman wrote: > sorry, but i'm trying to write some tools for beowulf administration. > > consider the program: > printf("Usage: encrypt salt password\n"); > strncpy(password, crypt(argv[1], salt), 49);
argv[1] is the salt, not the password. Try fixing this and see what happens. Cheers, Chris -- It is much easier to be critical than to be correct. -- Benjamin Disraeli