Re: [SLUG] Pulling hair out...

From: Chuck Hast (wchast@gmail.com)
Date: Thu Jun 16 2005 - 10:38:38 EDT


On 6/16/05, Mike Branda <mike@wackyworld.tv> wrote:
> 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??
>
Ohh yes, indeed the box is way over in Ft. Pierce, I am working on it
using ssh into it. So there is no problem there. It is something that is
abending AFTER it accepts the login as good. I am wondering if I should
try to figure out how to run it under bash, i.e. try to figure out how to load
bash, then start fpacnode and then close the connection on exit from
fpacnode. Funny thing is that on my machine I have not problem whatsoever
with fpacnode being the shell. It is just on the remote one.

-- 
Chuck Hast 
To paraphrase my flight instructor;
"the only dumb question is the one you DID NOT ask resulting in my going
out and having to identify your bits and pieces in the midst of torn
and twisted metal."

----------------------------------------------------------------------- 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:14 EDT