Re: [SLUG] Pulling hair out...

From: Mike Branda (mike@wackyworld.tv)
Date: Thu Jun 16 2005 - 10:23:43 EDT


On Wed, 2005-06-15 at 22:02 -0600, Chuck Hast wrote:

> I just went into the logs, here is the /var/log/auth.log from the
> working machine:
> Jun 15 23:50:08 fpac-dev sshd[31997]: Accepted password for fpacuser
> from 192.168.1.203 port 4531
> Jun 15 23:50:08 fpac-dev ssh(pam_unix)[32007]: session opened for user
> fpacuser by (uid=1004)
> Jun 15 23:50:08 fpac-dev pam_limits[32007]: setrlimit limit #6 to
> soft=-1, hard=-1 failed: Operation not pe
> rmitted; uid=1004 euid=1004
> root@fpac-dev:/var/log#
>
> It is the last jun 15 entry that is interesting, but one this machine
> you are dropped to
> the fpacnode app as the shell and it works just fine...
>
> Below is the /var/log/auth.log from the machine that is failing
>
> Jun 15 23:54:33 fpac sshd[2801]: Accepted password for fpacuser from
> 24.129.134.206 port 4540
> Jun 15 23:54:33 fpac ssh(pam_unix)[2803]: session opened for user
> fpacuser by (uid=1007)
> Jun 15 23:54:33 fpac pam_limits[2803]: setrlimit limit #6 to soft=-1,
> hard=-1 failed: Operation not permitted; uid=1007 euid=1007
> Jun 15 23:54:34 fpac ssh(pam_unix)[2803]: session closed for user fpacuser
> root@fpac:/var/log#
> Notice that on this one the session is closed for user fpacuser...

Maybe this is a silly question, but what's in /etc/hosts.allow
and /etc/hosts.deny?? Any ssh entries?? if there's an ALL : ALL in
hosts.deny maybe that's your problem....I can't remember if the allow
deny files kick you after attempted login or if they don't even allow
you to attempt....

Can you ssh the box successfully as another user??

Mike Branda Jr.

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:13:07 EDT