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 2947C2F0DE for ; Wed, 6 Jun 2001 12:36:26 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f56GYSO19252 for axp-list@listman.redhat.com; Wed, 6 Jun 2001 12:34:28 -0400 Received: from asimov.lib.uaa.alaska.edu (asimov.uaa.alaska.edu [137.229.112.4]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f56GYSb19248 for ; Wed, 6 Jun 2001 12:34:28 -0400 Received: by asimov.lib.uaa.alaska.edu (Postfix, from userid 500) id B4FC13006; Wed, 6 Jun 2001 08:36:05 -0800 (AKDT) Received: from localhost (localhost [127.0.0.1]) by asimov.lib.uaa.alaska.edu (Postfix) with ESMTP id B410E1010 for ; Wed, 6 Jun 2001 08:36:05 -0800 (AKDT) Date: Wed, 6 Jun 2001 08:36:05 -0800 (AKDT) From: Mike Tibor To: Subject: Re: OpenSSH compile In-Reply-To: <20010606093819.7767.qmail@avalon.gci.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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, 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). > > After I did that, I tried adding the --with-pam switch to ./configure. > I know nothing about PAM, so I don't know if it requires any more than > just that switch (and the config file from contrib/). > > Is it mandatory for ssh to use PAM on a redhat system? If so, then > I'll need to know how to get that working. If not, then my problem > lies elsewhere. I'd rather not bother with PAM if I don't have to. > > Can someone help me out here? > Thanks in advance for any wisdom. 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. Mike -- Mike Tibor Univ. of Alaska Anchorage (907) 786-1001 voice Network Technician Consortium Library (907) 786-6050 fax tibor@lib.uaa.alaska.edu http://www.lib.uaa.alaska.edu/~tibor/ http://www.lib.uaa.alaska.edu/~tibor/pgpkey for PGP public key