Re: Issue with SSH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Try this command :


 cd /etc/pam.d ; grep -lr pam_listfile .                 ( notice dot at the
end)




and see, if it lists any file that is using pam_listfile option.


if it is, paste the content of that file














On Sat, Feb 5, 2011 at 2:27 AM, Matty Sarro <msarro@xxxxxxxxx> wrote:

> #%PAM-1.0
> auth       include      system-auth
> account    required     pam_nologin.so
> account    include      system-auth
> password   include      system-auth
> session    optional     pam_keyinit.so force revoke
> session    include      system-auth
> session    required     pam_loginuid.so
>
>
> I actually just disabled PAM in /etc/ssh/sshd_config and it appears to
> be working now. Is not using PAM a security issue?
>
>
>
>
> On Fri, Feb 4, 2011 at 3:43 PM, Madan Thapa <madan.feedback@xxxxxxxxx>
> wrote:
> > what does the file  /etc/pam.d/sshd  look like?
> >
> >
> >
> > On Sat, Feb 5, 2011 at 1:57 AM, Matty Sarro <msarro@xxxxxxxxx> wrote:
> >
> >> We have two servers that synchronize between one another using SSH.
> >> The user that the software uses for some reason isn't working. When
> >> you ssh into the server using the user, you are prompted for a
> >> password. When you enter the password, you get an authentication
> >> failure. We have verified the password, and recreated it numerous
> >> times. SSH still doesn't appear to be working. Anyone have any clues?
> >>
> >> Here is whats in /var/log/secure:
> >>
> >> Feb  4 15:25:10 basmanps01 sshd[30754]: pam_tally(sshd:auth): user
> >> USERNAME (501) tally 14412, deny 5
> >> Feb  4 15:25:10 basmanps01 sshd[30686]: Postponed keyboard-interactive
> >> for USERNAME from 10.253.140.74 port 36951 ssh2
> >> Feb  4 15:25:10 basmanps01 sshd[30754]: pam_unix(sshd:auth):
> >> authentication failure; logname= uid=0 euid=0 tty=ssh ruser=
> >> rhost=baschips01  user=USERNAME
> >> Feb  4 15:25:11 basmanps01 sshd[30685]: error: PAM: Authentication
> >> failure for USERNAME from baschips01
> >> Feb  4 15:25:11 basmanps01 sshd[30755]: pam_tally(sshd:auth): user
> >> USERNAME (501) tally 14413, deny 5
> >> Feb  4 15:25:11 basmanps01 sshd[30686]: Postponed keyboard-interactive
> >> for USERNAME from 10.253.140.74 port 36951 ssh2
> >> Feb  4 15:25:11 basmanps01 sshd[30755]: pam_unix(sshd:auth):
> >> authentication failure; logname= uid=0 euid=0 tty=ssh ruser=
> >> rhost=baschips01  user=USERNAME
> >> Feb  4 15:25:14 basmanps01 sshd[30685]: error: PAM: Authentication
> >> failure for USERNAME from baschips01
> >> Feb  4 15:25:14 basmanps01 sshd[30685]: Failed none for USERNAME from
> >> 10.253.140.74 port 36951 ssh2
> >> Feb  4 15:25:14 basmanps01 sshd[30685]: Failed password for USERNAME
> >> from 10.253.140.74 port 36951 ssh2
> >> Feb  4 15:25:14 basmanps01 sshd[30686]: Disconnecting: Too many
> >> authentication failures for USERNAME
> >>
> >> --
> >> redhat-list mailing list
> >> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> >> https://www.redhat.com/mailman/listinfo/redhat-list
> >>
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux