From owner-freebsd-hackers Mon Jan 22 2:39:48 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mailsweeper.qdc-ec.co.za (gauntlet.mccarthy.co.za [196.26.24.1]) by hub.freebsd.org (Postfix) with ESMTP id E5C0637B402; Mon, 22 Jan 2001 02:39:14 -0800 (PST) Received: from ntzn2.rainbow.co.za (unverified) by mailsweeper.qdc-ec.co.za (Content Technologies SMTPRS 4.1.5) with ESMTP id ; Mon, 22 Jan 2001 12:35:28 +0200 Received: by ntzn2-ip2.rainbow.co.za with Internet Mail Service (5.5.2650.21) id ; Mon, 22 Jan 2001 12:31:45 +0200 Message-ID: From: "Niekie Myburgh (QData)" To: 'Stijn Hoop' Cc: "'freebsd-stable@freebsd.org'" , "'freebsd-hackers@freebsd.org'" Subject: RE: PAM (was: Re: MAIL set by whom?) Date: Mon, 22 Jan 2001 12:35:55 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0845F.1A079D00" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0845F.1A079D00 Content-Type: text/plain I posted a question about PAM & Passwd on 4.2. It seems that passwd "ignores" any passwd lines in pam.conf. I tried the pam.d thing (Run Linux compatibility, copy rc.d/* from Redhat 6.1 to BSD. When you try to log in, the login terminates, and syslog shows: /kernel: pid 22202 (login), uid 0: exited on siglan 10 (core dumped) Rename pam.d, and all is happy (which means I'm back to pam.conf). I have 300Mb swap (all unused) and 26Mb RAM inactive. I don't think that memory / out of swap space is the problem in this case. (I gather from what I could see on the net, that the main culprit for signal 10 seems to be swap space / memory) Can anyone give me an example line for the passwd entry in pam.conf (seems to be happier, although it seems to ignore my changes) I'm using the following: passwd password required pam_xxxxxxx options_options...... I tried pam_cracklib.so with it's options, as well as pam_passwdqc and it's options. I am being ignored. Regards. Niekie > -----Original Message----- > From: Stijn Hoop [SMTP:stijn@win.tue.nl] > Sent: Monday, January 22, 2001 12:07 PM > To: Dominic Mitchell > Cc: freebsd-stable@freebsd.org; freebsd-hackers@freebsd.org > Subject: Re: PAM (was: Re: MAIL set by whom?) > > On Mon, Jan 22, 2001 at 09:46:47AM +0000, Dominic Mitchell wrote: > > Would it be a good idea to start using /etc/pam.d ala RedHat, instead of > > the monolithic /etc/pam.conf? > > > > As far as I can see the support is already there, it's just not being > > used due to the presence of the /etc/pam.conf. > > > > This would make installing PAM entries far easier for the ports. > > Seconded. I don't see any reason *not* to do it this way. > > OTOH, ports are not supposed to install in /etc, so the best way would > be to extend pam to support /usr/local/etc/pam.d *and* /etc/pam.d > (if it doesn't already do this). > > No, I'm not sending patches, sorry :) > > --Stijn > > -- > Nostalgia ain't what it used to be. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message ------_=_NextPart_001_01C0845F.1A079D00 Content-Type: text/html Content-Transfer-Encoding: quoted-printable RE: PAM (was: Re: MAIL set by whom?)

I posted a question = about PAM & Passwd on 4.2.  It seems that passwd = "ignores" any passwd lines in pam.conf.  I tried the = pam.d thing (Run Linux compatibility, copy rc.d/* from Redhat 6.1 to = BSD.  When you try to log in, the login terminates, and syslog = shows:

/kernel: pid 22202 = (login), uid 0: exited on siglan 10 (core dumped)

Rename pam.d, and = all is happy (which means I'm back to pam.conf).

I have 300Mb swap = (all unused) and 26Mb RAM inactive.  I don't think that memory / = out of swap space is the problem in this case. (I gather from what I = could see on the net, that the main culprit for signal 10 seems to be = swap space / memory)

Can anyone give me = an example line for the passwd entry in pam.conf (seems to be happier, = although it seems to ignore my changes)

I'm using the = following:

passwd  =         = password        = required        =         pam_xxxxxxx = options_options......

I tried = pam_cracklib.so with it's options, as well as pam_passwdqc and it's = options.  I am being ignored.

Regards.

Niekie





    -----Original Message-----
    From:   Stijn Hoop [SMTP:stijn@win.tue.nl]
    Sent:   Monday, January 22, 2001 12:07 PM
    To:     Dominic Mitchell
    Cc:     freebsd-stable@freebsd.org; = freebsd-hackers@freebsd.org
    Subject:       = Re: PAM (was: Re: MAIL set by = whom?)

    On Mon, Jan 22, 2001 at 09:46:47AM = +0000, Dominic Mitchell wrote:
    > Would it be a good idea to start = using /etc/pam.d ala RedHat, instead of
    > the monolithic = /etc/pam.conf?
    >
    > As far as I can see the support = is already there, it's just not being
    > used due to the presence of the = /etc/pam.conf.
    >
    > This would make installing PAM = entries far easier for the ports.

    Seconded. I don't see any reason *not* = to do it this way.

    OTOH, ports are not supposed to = install in /etc, so the best way would
    be to extend pam to support = /usr/local/etc/pam.d *and* /etc/pam.d
    (if it doesn't already do = this).

    No, I'm not sending patches, sorry = :)

    --Stijn

    --
    Nostalgia ain't what it used to = be.


    To Unsubscribe: send mail to = majordomo@FreeBSD.org
    with "unsubscribe = freebsd-hackers" in the body of the message

------_=_NextPart_001_01C0845F.1A079D00-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message