Re: crypt() isn't generating a valid md5/shadow password

2000-10-18 Thread brian moore
On Wed, Oct 18, 2000 at 11:33:17PM -0400, Chris Gray wrote: > On Wed, Oct 18, 2000 at 11:04:32PM -0400, Chris Gray wrote: > > 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 prog

Re: crypt() isn't generating a valid md5/shadow password

2000-10-18 Thread Chris Gray
On Wed, Oct 18, 2000 at 11:04:32PM -0400, Chris Gray wrote: > 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");

Re: crypt() isn't generating a valid md5/shadow password

2000-10-18 Thread Chris Gray
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[

crypt() isn't generating a valid md5/shadow password

2000-10-18 Thread Peter Jay Salzman
sorry, but i'm trying to write some tools for beowulf administration. consider the program: #include #include #include int main(int argc, char **argv) { char password[50]; char salt[50]; if (argc != 3) {