AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20080612152000.0ebb0f8f@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<ronb@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E0A6E86DD@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Thu, 12 Jun 2008 15:20:23 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Ron Bhanukitsiri" <ronb@onstor.com>
Subject: Re: Need sshd tip
Message-ID: <20080612152023.66be4da0@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E0A6E86DD@onstor-exch02.onstor.net>
References: <BB375AF679D4A34E9CA8DFA650E2B04E0A6E86C2@onstor-exch02.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E0A6E86CC@onstor-exch02.onstor.net>
	<20080612145249.2bdccecd@ripper.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E0A6E86DD@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

It calls into the authen-lib code:  nfx-tree/code/ssc-authen-lib/

root and admin users are special cases.

Does that answer your question?  Are you working on a particular bug?

On Thu, 12 Jun 2008 14:54:19 -0700 "Ron Bhanukitsiri" <ronb@onstor.com>
wrote:

> Thanks Andy.
> 
> Well, I'm work on a defect, never worked on sshd before :-(.
> 
> I need to know how it checks for the privilege to see if the user
> has LOGIN privilege.
> 
> Ron B[ee]
> 
> -----Original Message-----
> From: Andy Sharp 
> Sent: Thursday, June 12, 2008 2:53 PM
> Cc: Ron Bhanukitsiri
> Subject: Re: Need sshd tip
> 
> Ron,
> 
> Another way of putting this is, what is your reason for wanting to do
> this?  What are you trying to do?  Perhaps I can give you a more
> helpful/useful suggestion if I knew that.
> 
> Cheers,
> 
> a
> 
> On Thu, 12 Jun 2008 14:44:08 -0700 "Maxim Kozlovsky"
> <maxim.kozlovsky@onstor.com> wrote:
> 
> > Real programmers don't use debuggers.
> > 
> > Sshd will work itself on each login, so you need to put your
> > breakpoints in the child process after it starts, or run sshd with
> > "-d" option which makes debugging easier. See the man page.
> > 
> > _____________________________________________
> > From: Ron Bhanukitsiri 
> > Sent: Thursday, June 12, 2008 2:38 PM
> > To: dl-Software
> > Subject: Need sshd tip
> > 
> > Does anyone know how ONstor sshd work?  I put 10 various breakpoint
> > in sshd and none of them were hit :-(.  Protocol trace didn't help
> > 'cause all of
> > the ssh messages were encrypted.  Not having worked on sshd before
> > I'm perspiringly desperate :-) in need of help.
> > 
> > When the client try to ssh into the box, where should I put the
> > breakpoint?
> > That is, where does the request go?
> > 
> > Thanks,
> > Ron B[ee]
