From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 0492C2FBF1 for ; Wed, 6 Jun 2001 13:04:26 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f56H2Sh22926 for axp-list@listman.redhat.com; Wed, 6 Jun 2001 13:02:28 -0400 Received: from ellpspace.math.ualberta.ca (IDENT:michal@ellpspace.math.ualberta.ca [129.128.207.67]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f56H2Sb22922 for ; Wed, 6 Jun 2001 13:02:28 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.9.3/8.9.3) id LAA06746 for axp-list@redhat.com; Wed, 6 Jun 2001 11:03:53 -0600 Date: Wed, 6 Jun 2001 11:03:53 -0600 From: Michal Jaegermann To: axp-list@redhat.com Subject: Re: OpenSSH compile Message-ID: <20010606110353.A6717@ellpspace.math.ualberta.ca> References: <20010606093819.7767.qmail@avalon.gci.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from tibor@lib.uaa.alaska.edu on Wed, Jun 06, 2001 at 08:36:05AM -0800 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Wed, Jun 06, 2001 at 08:36:05AM -0800, Mike Tibor wrote: > On Wed, 6 Jun 2001 bryan@ak.net wrote: > > > Has someone here compiled Openssh 2.9p1 on redhat? I did it the same > > way I did on my Slackware x86, and it compiled and installed fine, it > > just won't authenticate me (root or regular user). You would be likely better of starting with a current openssh source rpm from Red Hat distribution and editing it to "plug in" a version of ssh you want. That way you will not forget about such "small details" like configuration and startup files. > > Yep--you want to use PAM. I think the trick may be to cat something like > the following into /etc/pam.d/sshd: > > (copied from my 164LX running RH7) > #%PAM-1.0 > auth required /lib/security/pam_stack.so service=system-auth > auth required /lib/security/pam_nologin.so > account required /lib/security/pam_stack.so service=system-auth > password required /lib/security/pam_stack.so service=system-auth > session required /lib/security/pam_stack.so service=system-auth > session required /lib/security/pam_limits.so > session optional /lib/security/pam_console.so > > I don't know how well that would work on 6.x. It will work just fine (although I did not try version 2.9 of ssh yet). OTOH if you would want that on one of 5.x systems then something like that should be handy (make it "shadow" or not, depending on your other settings). #%PAM-1.0 auth required /lib/security/pam_pwdb.so shadow nodelay auth required /lib/security/pam_nologin.so account required /lib/security/pam_pwdb.so password required /lib/security/pam_cracklib.so password required /lib/security/pam_pwdb.so shadow nullok use_authtok session required /lib/security/pam_pwdb.so session required /lib/security/pam_limits.so Without PAM support you are for a hard time. Michal