Hi

I've just installed OpenSSH 2.3.0p1 on a RedHat6.2 system. The compile
went without problems, but any attempt to login over the net returns
"Permission denied, Please try again". It doesn't matter if the signing
on user is root or regular, the response is the same. The same accounts
can be used to login on the machine, so the problem doesn't seem to be
there.

Message file entries:

PAM_console: getpwnam failed for h4x0r

and

sshd: cannot close PAM session: system error

This last one occurs after the failed connection closes.

When building ssh, the only things I noticed that are even remotely
sinister are:

gcc -g -O2 -Wall -I. -I. -I/usr/openssl/include
-DETCDIR=\"/usr/ssh/etc\" -DSSH_PROGRAM=\"/usr/ssh/bin/ssh\"
-DSSH_ASKPASS_DEFAULT=\"/usr/ssh/libexec/ssh-askpass\" -DHAVE_CONFIG_H
-c -o auth-pam.o auth-pam.c
auth-pam.c: In function `pamconv':
auth-pam.c:105: warning: passing arg 1 of `read_passphrase' discards
`const' from pointer target type



gcc -g -O2 -Wall -I. -I. -I/usr/openssl/include
-DETCDIR=\"/usr/ssh/etc\" -DSSH_PROGRAM=\"/usr/ssh/bin/ssh\"
-DSSH_ASKPASS_DEFAULT=\"/usr/ssh/libexec/ssh-askpass\" -DHAVE_CONFIG_H
-c -o session.o session.c
session.c: In function `do_authenticated':
session.c:214: warning: `type' might be used uninitialized in this
function
session.c:257: warning: `success' might be used uninitialized in this
function



gcc -g -O2 -Wall -I. -I. -I/usr/openssl/include
-DETCDIR=\"/usr/ssh/etc\" -DSSH_PROGRAM=\"/usr/ssh/bin/ssh\"
-DSSH_ASKPASS_DEFAULT=\"/usr/ssh/libexec/ssh-askpass\" -DHAVE_CONFIG_H
-c -o pty.o pty.c
pty.c: In function `pty_allocate':
pty.c:55: warning: implicit declaration of function `openpty'






Here's the config output:

creating config.h

OpenSSH configured has been configured with the following options.
                 User binaries: /usr/ssh/bin
                 User binaries: /usr/ssh/bin
               System binaries: /usr/ssh/sbin
           Configuration files: /usr/ssh/etc
               Askpass program: /usr/ssh/libexec/ssh-askpass
                  Manual pages: /usr/ssh/man/manX
                      PID file: /var/run
      Random number collection: Device (/dev/urandom)
                Manpage format: man
                   PAM support: yes
            KerberosIV support: no
                   AFS support: no
                 S/KEY support: no
          TCP Wrappers support: no
          MD5 password support: yes
   IP address in $DISPLAY hack: no
      Use IPv4 by default hack: no
       Translate v4 in v6 hack: yes

             Host: i686-pc-linux-gnu
         Compiler: gcc
   Compiler flags: -g -O2 -Wall -I. -I. -I/usr/openssl/include
     Linker flags:  -L/usr/openssl/lib -L/usr/openssl
        Libraries: -ldl -lnsl -lz  -lutil -lpam -lcrypto



Does anyone have an idea about what's wrong here?

 Thanks

Ed Hoeffner

Reply via email to