Re: [SLUG] Pulling hair out...

From: Chuck Hast (wchast@gmail.com)
Date: Wed Jun 15 2005 - 22:23:30 EDT


On 6/15/05, Eben King <eben1@tampabay.rr.com> wrote:
> On Wed, 15 Jun 2005, Chuck Hast wrote:
>
> > On 6/15/05, Eben King <eben1@tampabay.rr.com> wrote:
> > >
> > > See if you can run:
> > >
> > > ssh fpacuser@that_host what_it's_supposed_to_run
> >
> >
> > Remember that this login dumps me to a special program that is the front
> > end of a ham radio app. I can not execute any linux/unix commands from
> > it.
>
> That's OK. Just to test, I ran
>
> ssh localhost ksh
>
> and it ran ksh _instead of_ bash (or exec'ed ksh from bash, don't know
> which). If the first, then specifying a program to run overrides what's in
> /etc/passwd.
>
> > Of course when I execute the echo $$ from another consol or ssh session I
> > get that session PID. But when I do the ps command I can see at least on
> > the good machine where things are for the fpacuser.
>
> True, it shows what's running. But the point of the exercise was to find
> out what fpacuser is actually getting as a login program (if it's not
> immediately obvious). Since you said that he gets kicked off immediately,
> that won't work, so I suggested the "run ssh from a console" thing.
I just sshed in from a windoz box running putty which allows you to not
close the session when it caves in, here is the results of the login...

login as: fpacuser
fpacuser@n4xeo.no-ip.com's password:
Welcome to Knoppix (Kernel 2.4.22-xfs)

as soon as it prints the last line and a emply line or so, it flashes
a box saying
that the connection has been dropped.

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