"Mike A. Harris" wrote:
> On Tue, 18 Jul 2000, Thomas Dodd wrote:
> >#define _XOPEN_SOURCE
> >#include <unistd.h>
> >char *crypt(const char *key, const char *salt);
> >
> >which doesn't look like what you have in the code.
> >But I've never used crypt either.
>
> Yeah, I did all that yesterday, and a bunch more. I got it to
> compile, and it runs, but doesn't do anything. Also any time it
> wants the root password it denies access, but allows other
> logins.
> I need it to work with ssh, and have no idea how to do this
> either.
Like I said, I don't use crypt(). I wrote a small
program that just took a key and a salt value.
It returned an encrypted version of the key
once I added -lcrypt to the compile command.
That's as much as I know about crypt().
Maybe look at the source for login, to see what's
going on. maybe ttysnoop needs a different crypt().
Could be a glibc issue too. Try using the libc5
libraries (I don't have a clue how to actually do that).
-Thomas
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list