Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Mike Tibor <tibor@lib.uaa.alaska.edu>
To: <axp-list@redhat.com>
Subject: Re: OpenSSH compile
Date: Wed, 6 Jun 2001 08:36:05 -0800 (AKDT)	[thread overview]
Message-ID: <Pine.LNX.4.33.0106060833130.20429-100000@asimov.lib.uaa.alaska.edu> (raw)
In-Reply-To: <20010606093819.7767.qmail@avalon.gci.net>

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




  reply	other threads:[~2001-06-06 16:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-06  9:38 OpenSSH compile bryan
2001-06-06 16:36 ` Mike Tibor [this message]
2001-06-06 17:03   ` Michal Jaegermann
2001-06-06 19:52     ` bryan
2001-06-06 21:26       ` Michal Jaegermann
2001-06-07 10:33         ` bryan
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox