Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
PAM modules
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 47 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dag-Erling Smørgrav  
View profile  
 More options Sep 16 2011, 11:21 am
Newsgroups: fa.freebsd.security
From: Dag-Erling Smørgrav <d...@des.no>
Date: Fri, 16 Sep 2011 15:21:29 UTC
Local: Fri, Sep 16 2011 11:21 am
Subject: PAM modules
We currently have a number of PAM modules in ports, and while some of
them are specific to certain third-party software, many aren't.  I
believe we would benefit from importing at least some of these into
base.  My question is: which ones?

DES
--
Dag-Erling Smørgrav - d...@des.no
_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Xin LI  
View profile  
 More options Sep 16 2011, 1:31 pm
Newsgroups: fa.freebsd.security
From: Xin LI <delp...@delphij.net>
Date: Fri, 16 Sep 2011 17:31:08 UTC
Local: Fri, Sep 16 2011 1:31 pm
Subject: Re: PAM modules
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 09/16/11 08:05, Dag-Erling Smørgrav wrote:

> We currently have a number of PAM modules in ports, and while some
> of them are specific to certain third-party software, many aren't.
> I believe we would benefit from importing at least some of these
> into base.  My question is: which ones?

LDAP?  (We do currently have some work on LDAP integration but not
sure if the community would be interested -- this would need an import
of stripped down OpenLDAP) and modifies OpenSSH to support public key
in LDAP directory.

Cheers,
- --
Xin LI <delp...@delphij.net>   https://www.delphij.net/
FreeBSD - The Power to Serve!           Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iQEcBAEBCAAGBQJOc4eUAAoJEATO+BI/yjfBUFgH/1+fWilKMu/4YJu0X2hUpDJI
EvOuG1Mx481eXAaTV+yfVaHwGs039EQIgJpk18CCC+UbCOV4kG0B0XpK5D3VdOPE
nHoXB38YiiyBe+LVYg3u1YPrjPAoULK2ih4qMOki6Wbtw8EqV344BNd0a70joY+z
JTnNsfJQcMKAO8RpppPxuf/yy6goRcQSMUmDCvxBiOS923vZu641kyBEzyFeC+GU
BJjLTXxcBQ5V9XNGgHmp7g4nwHPNwi0aOPs6Gudgj7u3hKKEkcY//Irdac+chopF
St4AJBCffsdl49TbQMYKUvTSIyUb5YeI8ixtFzwhhdGUZLEPDOvtOJNooCd1x/w=
=VRQC
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Felder  
View profile  
 More options Sep 16 2011, 1:58 pm
Newsgroups: fa.freebsd.security
From: Mark Felder <f...@feld.me>
Date: Fri, 16 Sep 2011 17:58:01 UTC
Local: Fri, Sep 16 2011 1:58 pm
Subject: Re: PAM modules

On Fri, 16 Sep 2011 12:29:56 -0500, Xin LI <delp...@delphij.net> wrote:
> LDAP?  (We do currently have some work on LDAP integration but not
> sure if the community would be interested -- this would need an import
> of stripped down OpenLDAP) and modifies OpenSSH to support public key
> in LDAP directory.

All of this would be greatly appreciated by myself and my fellow coworkers.
_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Corey Smith  
View profile  
 More options Sep 16 2011, 4:21 pm
Newsgroups: fa.freebsd.security
From: Corey Smith <corsm...@gmail.com>
Date: Fri, 16 Sep 2011 20:21:25 UTC
Local: Fri, Sep 16 2011 4:21 pm
Subject: Re: PAM modules
On 09/16/2011 11:05 AM, Dag-Erling Smørgrav wrote:

> My question is: which ones?

security/pam_ssh_agent_auth

It is BSD licensed and handy for sudo.

-Corey Smith
_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robert Simmons  
View profile  
 More options Sep 16 2011, 4:30 pm
Newsgroups: fa.freebsd.security
From: Robert Simmons <rsimmo...@gmail.com>
Date: Fri, 16 Sep 2011 20:30:21 UTC
Local: Fri, Sep 16 2011 4:30 pm
Subject: Re: PAM modules
2011/9/16 Dag-Erling Smørgrav <d...@des.no>:

> We currently have a number of PAM modules in ports, and while some of
> them are specific to certain third-party software, many aren't.  I
> believe we would benefit from importing at least some of these into
> base.  My question is: which ones?

Perhaps google authenticator?
http://code.google.com/p/google-authenticator/
http://www.freebsd.org/cgi/url.cgi?ports/security/pam_google_authenti...
_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Cornejo  
View profile  
 More options Sep 16 2011, 5:54 pm
Newsgroups: fa.freebsd.security
From: David Cornejo <d...@dogwood.com>
Date: Fri, 16 Sep 2011 21:54:21 UTC
Local: Fri, Sep 16 2011 5:54 pm
Subject: Re: PAM modules
2011/9/16 Dag-Erling Smørgrav <d...@des.no>

> We currently have a number of PAM modules in ports, and while some of
> them are specific to certain third-party software, many aren't.  I
> believe we would benefit from importing at least some of these into
> base.  My question is: which ones?

> DES
> --
> Dag-Erling Smørgrav - d...@des.no
> _______________________________________________
> freebsd-secur...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-security
> To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org
> "

Another vote for LDAP
_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Xin LI  
View profile  
 More options Sep 16 2011, 5:55 pm
Newsgroups: fa.freebsd.security
From: Xin LI <delp...@delphij.net>
Date: Fri, 16 Sep 2011 21:55:43 UTC
Local: Fri, Sep 16 2011 5:55 pm
Subject: Re: PAM modules
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 09/16/11 10:39, Mark Felder wrote:

> On Fri, 16 Sep 2011 12:29:56 -0500, Xin LI <delp...@delphij.net> wrote:

>> LDAP?  (We do currently have some work on LDAP integration but not
>> sure if the community would be interested -- this would need an import
>> of stripped down OpenLDAP) and modifies OpenSSH to support public key
>> in LDAP directory.

> All of this would be greatly appreciated by myself and my fellow coworkers.

I can publish the source code but note that it's for FreeBSD 8.2 and
OpenLDAP needs to be updated.

Changes are moderately intrusive but is in a manageable shape, it's used
in production at a company who wishes to remain anonymous (the work is
mostly putting together several open source models, fix bugs and they
have assigned a delegate for copyright to license it under compatible
license).  I need to find some time to adapt the code to -HEAD and call
for feedback.

Cheers,
- --
Xin LI <delp...@delphij.net>   https://www.delphij.net/
FreeBSD - The Power to Serve!           Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iQEcBAEBCAAGBQJOc8WDAAoJEATO+BI/yjfB9p4IAIT82Z8I+6jkhyhCL/wbcXQk
KPAfpuPQCUjn1Lm2C/UUgWdBO17SYzBJUlyt1FJuDctGab18mJgvWMvjb+cUgXKH
lfcxUdmBxkhwwTSE7EfB4qLphn28si67INOZN3xSVzyXuxGTqwXcO5fJlbJly77B
nNS8JUu3X9tjMwGHwOWjG7R6n/bEdsmJUdWtMT2t3B6thFsStgqshTnKoBs18vPN
vWdY7vdX3Mco1kjLTGoq3DZUxZyBxn75IvSSpvFLtn4T4YT22U2V0KY5h1JUsz9q
MVQGLpUpudyFI8T+rzbQR3yxtv7gqgumlIuYpjF9rP0FtoQDcB2vRlMzAqM5j1o=
=m5hN
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Carlson  
View profile  
 More options Sep 16 2011, 6:06 pm
Newsgroups: fa.freebsd.security
From: Mike Carlson <carlso...@llnl.gov>
Date: Fri, 16 Sep 2011 22:06:01 UTC
Local: Fri, Sep 16 2011 6:06 pm
Subject: Re: PAM modules
On 09/16/2011 08:05 AM, Dag-Erling Smørgrav wrote:
> We currently have a number of PAM modules in ports, and while some of
> them are specific to certain third-party software, many aren't.  I
> believe we would benefit from importing at least some of these into
> base.  My question is: which ones?

> DES

LDAP support out of the box would be fantastic.

Mike C
_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Lukes  
View profile  
 More options Sep 16 2011, 7:14 pm
Newsgroups: fa.freebsd.security
From: Dan Lukes <d...@obluda.cz>
Date: Fri, 16 Sep 2011 23:14:38 UTC
Local: Fri, Sep 16 2011 7:14 pm
Subject: Re: PAM modules
On 09/16/11 17:05, Dag-Erling Smørgrav:

> My question is: which ones?

An anti-brutal force module would be nice.

security/pam_af is my favorite. Configurable, fast, BSD license.

Dan

_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brandon Gooch  
View profile  
 More options Sep 16 2011, 11:51 pm
Newsgroups: fa.freebsd.security
From: Brandon Gooch <jamesbrandongo...@gmail.com>
Date: Sat, 17 Sep 2011 03:51:11 UTC
Local: Fri, Sep 16 2011 11:51 pm
Subject: Re: PAM modules
On Sep 16, 2011 10:21 AM, "Dag-Erling Smørgrav" <d...@des.no> wrote:

> We currently have a number of PAM modules in ports, and while some of
> them are specific to certain third-party software, many aren't.  I
> believe we would benefit from importing at least some of these into
> base.  My question is: which ones?

> DES
> --
> Dag-Erling Smørgrav - d...@des.no

+1 for LDAP

-Brandon
_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jason Hellenthal  
View profile  
 More options Sep 17 2011, 1:32 am
Newsgroups: fa.freebsd.security
From: Jason Hellenthal <jh...@DataIX.net>
Date: Sat, 17 Sep 2011 05:32:24 UTC
Local: Sat, Sep 17 2011 1:32 am
Subject: Re: PAM modules

Do not mean to reply to my own post but seems these offer the most IMHO
benefit to the project and end-users.

security/pam_jail         A PAM module dropping users in jails after login
security/pam_krb5         A Pluggable Authentication Module for Kerberos5
security/pam_ldap         A pam module for authenticating with LDAP
security/pam_mkhomedir    Create HOME with a PAM module on demand
security/pam_p11          A PAM module using crypto tokens for auth authenticate against Unix PAM
security/pam_pwdfile      A pam module for authenticating with flat passwd files
security/pam_require      A PAM module for restricting access based on unix group or username
security/pam_smb          NetBIOS domain logon PAM module
security/pam_ssh_agent_auth PAM module which permits authentication via ssh-agent
sysutils/pam_mount        A PAM that can mount volumes for a user session
_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jason Hellenthal  
View profile  
 More options Sep 17 2011, 1:48 am
Newsgroups: fa.freebsd.security
From: Jason Hellenthal <jh...@DataIX.net>
Date: Sat, 17 Sep 2011 05:48:14 UTC
Local: Sat, Sep 17 2011 1:48 am
Subject: Re: PAM modules

+1 for LDAP

_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lev Serebryakov  
View profile  
 More options Sep 17 2011, 5:44 am
Newsgroups: fa.freebsd.security
From: Lev Serebryakov <l...@FreeBSD.org>
Date: Sat, 17 Sep 2011 09:44:13 UTC
Local: Sat, Sep 17 2011 5:44 am
Subject: Re: PAM modules
Hello, Xin.
You wrote 16 сентября 2011 г., 21:29:56:

> LDAP?  (We do currently have some work on LDAP integration but not
> sure if the community would be interested -- this would need an import
> of stripped down OpenLDAP) and modifies OpenSSH to support public key
> in LDAP directory.

 Minimal ldap client, nss/pam_ldap and SSH keys in LDAP out-of-box is
great!
 But it is disagree with trend to stirp-down base system :(

--
// Black Lion AKA Lev Serebryakov <l...@FreeBSD.org>

_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lev Serebryakov  
View profile  
 More options Sep 17 2011, 5:48 am
Newsgroups: fa.freebsd.security
From: Lev Serebryakov <l...@FreeBSD.org>
Date: Sat, 17 Sep 2011 09:48:30 UTC
Local: Sat, Sep 17 2011 5:48 am
Subject: Re: PAM modules
Hello, Jason.
You wrote 17 ñåíòÿáðÿ 2011 ã., 9:24:34:

> security/pam_ldap         A pam module for authenticating with LDAP

 It needs nss_ldap too for reasonnabel work, and in such case
`net/nss-pam-ldapd' is better, as it two-in-one, may be with stripped
out cache daemon.

  But all these ldap-related modules are strange in their desire to
 have config files like "ldap.conf" :)

--
// Black Lion AKA Lev Serebryakov <l...@FreeBSD.org>

_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "PAM modules -> LDAP!" by Hartmann, O.
Hartmann, O.  
View profile  
 More options Sep 17 2011, 8:47 am
Newsgroups: fa.freebsd.security
From: "Hartmann, O." <ohart...@zedat.fu-berlin.de>
Date: Sat, 17 Sep 2011 12:47:44 UTC
Local: Sat, Sep 17 2011 8:47 am
Subject: Re: PAM modules -> LDAP!
On 09/16/11 23:36, Mike Carlson wrote:

> On 09/16/2011 08:05 AM, Dag-Erling Smørgrav wrote:
>> We currently have a number of PAM modules in ports, and while some of
>> them are specific to certain third-party software, many aren't.  I
>> believe we would benefit from importing at least some of these into
>> base.  My question is: which ones?

>> DES
> LDAP support out of the box would be fantastic.

> Mike C
> _______________________________________________
> freebsd-secur...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-security
> To unsubscribe, send any mail to
> "freebsd-security-unsubscr...@freebsd.org"

Also a strong vote for LDAP support. LDAP is our backend for several
server systems and it is a kind of pain
having to think first for the ports to be installed. Also I suspect and
hope a better integration if LDAP gets
part of the core system.

Regards,
Oliver
_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "PAM modules" by Dag-Erling Smørgrav
Dag-Erling Smørgrav  
View profile  
 More options Sep 17 2011, 11:34 am
Newsgroups: fa.freebsd.security
From: Dag-Erling Smørgrav <d...@des.no>
Date: Sat, 17 Sep 2011 15:34:24 UTC
Local: Sat, Sep 17 2011 11:34 am
Subject: Re: PAM modules

Jason Hellenthal <jh...@DataIX.net> writes:
> security/pam_jail         A PAM module dropping users in jails after login
> security/pam_krb5         A Pluggable Authentication Module for Kerberos5

We already have that.

> security/pam_ldap         A pam module for authenticating with LDAP

Not going to happen, since we don't have LDAP in base.

> security/pam_mkhomedir    Create HOME with a PAM module on demand
> security/pam_p11          A PAM module using crypto tokens for auth authenticate against Unix PAM

Requires a PKCS11 implementation in base.  I never finished the one I
started on...

> security/pam_pwdfile      A pam module for authenticating with flat passwd files
> security/pam_require      A PAM module for restricting access based on unix group or username

What does this do that pam_group doesn't?

> security/pam_smb          NetBIOS domain logon PAM module

Apparently requires Perl to run, although this may be a bug in the port

> security/pam_ssh_agent_auth PAM module which permits authentication via ssh-agent
> sysutils/pam_mount        A PAM that can mount volumes for a user session

That leaves us with the following candidates:

 - pam_jail
 - pam_mkhomedir
 - pam_mount
 - pam_pwdfile
 - pam_ssh_agent_auth

and possibly also

 - pam_require
 - pam_smb

Note that pam_mkhomedir and pam_mount can be implemented using pam_exec
(possibly with some improvements) and scripts.

DES
--
Dag-Erling Smørgrav - d...@des.no
_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "PAM modules -> LDAP!" by Fahad Ahmad
Fahad Ahmad  
View profile  
 More options Sep 17 2011, 12:29 pm
Newsgroups: fa.freebsd.security
From: Fahad Ahmad <fa...@dumbain.net>
Date: Sat, 17 Sep 2011 16:29:16 UTC
Local: Sat, Sep 17 2011 12:29 pm
Subject: Re: PAM modules -> LDAP!
Not everybody requires LDAP/PAM , so making it part of base is not a
valid reason.
Same can apply for any other 3rd party port (Apache,Samba,etc etc).

On 09/17/2011 05:30 AM, Hartmann, O. wrote:

_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ryan Steinmetz  
View profile  
 More options Sep 17 2011, 12:39 pm
Newsgroups: fa.freebsd.security
From: Ryan Steinmetz <z...@FreeBSD.org>
Date: Sat, 17 Sep 2011 16:39:24 UTC
Local: Sat, Sep 17 2011 12:39 pm
Subject: Re: PAM modules -> LDAP!

On (09/17/11 14:30), Hartmann, O. wrote:

I think some caution should be used whenever we discuss merging things
into the base system.  There may be other ways of achieving the same
functionality, without the challenges that come with merging things
directly into the base system.  Ports tend to be easier to update (in
terms of version bumps/features additions) when compared to things that
become part of base.

I think an interesting concept would be something that gave us the
ability to (easily) tie certain ports into software from the base system.
Something that would allow the software to be more easily kept current.
Perhaps this could be done via some sort of base-integrated ports
category that require extra-special care/controls when being updated.

Using the above idea, perhaps we could have ISOs or the like available
that include these 'base-integrated' ports pre-installed, thus giving
users the ability to (effectively) have an out-of-the-box solution that
included LDAP support, etc., while still having these 'base-integrated'
ports loosely coupled with the base OS.  The concept could keep the base
system lean, but provide the flexibility that users desire.

Obviously there are some complexities associated with implementing the
framework and details that would need to be worked out, but this could
address:
-The desire to keep the base system lean
-The desire to provide certain features out-of-the-box
-The ability to keep these 'base-integrated' ports more current in terms
of features/functionality

-r

--
Ryan Steinmetz
PGP: EF36 D45A 5CA9 28B1 A550  18CD A43C D111 7AD7 FAF2
_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Xin LI  
View profile  
 More options Sep 17 2011, 4:57 pm
Newsgroups: fa.freebsd.security
From: Xin LI <delp...@delphij.net>
Date: Sat, 17 Sep 2011 20:57:19 UTC
Local: Sat, Sep 17 2011 4:57 pm
Subject: Re: PAM modules -> LDAP!
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 09/17/11 06:53, Ryan Steinmetz wrote:
[...]

I've put a preliminary patchset at:

        http://people.freebsd.org/~delphij/misc/freebsd8.2-ldap.diff.xz

For interested parties.

That work was done to meet quakelee@'s company's needs (mostly done by
him, I helped him with some minor things with my weekends) and the
patch might needs some cleanup work (I've stripped down the unrelated
part like bringing rsync, sudo to their base system but it's well
possible rthat I've missed something or haven't removed some junk in
this patchset -- ask me and/or quakelee@ if that's the case, their
patched system works fine and I have everything in our git so let me
know if that works).

Speaking for having or not this by default for FreeBSD: It's not hard
for us to make a customized distribution, and the patchset allows one
to build a LDAP-free system, we have stripped down OpenLDAP to only do
client side and the symbols have been renamed to avoid conflicts with
port OpenLDAP.  Personally I don't consider an Operating System that
have no built-in LDAP support as a complete one and consider this:
what happens when OpenLDAP's shared library version bumped (this is
not rare) and your LDAP-linked sshd, pam models would do?

"base-integrated" port -- I wouldn't object if that would ever happen
but I bet it's a much bigger one than LDAP integration :)  It may take
me a day or two days to get our patchset cleaned up and updated to
- -HEAD and latest OpenLDAP -stable and universe it, plus test on amd64,
but implementing a shiny new framework is not something we (I and
quakelee@) could do.

Cheers,
- --
Xin LI <delp...@delphij.net>   https://www.delphij.net/
FreeBSD - The Power to Serve!           Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iQEcBAEBCAAGBQJOdQlKAAoJEATO+BI/yjfB1YgIAJE4l+KOsTg+BPtWe3lJhLfF
bTk7HlpeZOpTgTYFJ93E0+kIls4+iZN6LfwNaiDGEQXMA6Ot7utf2oa87uK+dSxv
9mjj/cUgkYOaN2wTOs15H2bTKbq/Fyh0eD2ewZ0cu9U9S+6earPK/n/VseQYa9M7
aXcOdcrVqKpTMb7+JiEDjiAzGYKgnwldoTFEnKaVoKay032gWPP5RJ1rMiZa8HXu
p/1QrMgpumg8rS0Tk1qlpSljAOqG3T5/iEXgcIYvi6APbp/Wy9KGvLO68/xJodaf
gxLKZ1Hx4xE+4vIou/5jV9XqP2XcIueH1WJFdyDx5tDEyGrpP3NIs2lObupQ36M=
=oorR
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "PAM modules" by Łukasz Wąsikowski
Łukasz Wąsikowski  
View profile  
 More options Sep 17 2011, 8:57 pm
Newsgroups: fa.freebsd.security
From: Łukasz Wąsikowski <id...@bydgoszcz.wsinf.edu.pl>
Date: Sun, 18 Sep 2011 00:57:15 UTC
Local: Sat, Sep 17 2011 8:57 pm
Subject: Re: Re: PAM modules
W dniu 20:59, Xin LI pisze:

>> We currently have a number of PAM modules in ports, and while some
>> of them are specific to certain third-party software, many aren't.
>> I believe we would benefit from importing at least some of these
>> into base.  My question is: which ones?
> LDAP?  (We do currently have some work on LDAP integration but not
> sure if the community would be interested -- this would need an import
> of stripped down OpenLDAP) and modifies OpenSSH to support public key
> in LDAP directory.

I'd love to see LDAP integration, I'm looking forward to it.

--
Best regards,
Lukasz Wasikowski
_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dag-Erling Smørgrav  
View profile  
 More options Sep 18 2011, 2:04 pm
Newsgroups: fa.freebsd.security
From: Dag-Erling Smørgrav <d...@des.no>
Date: Sun, 18 Sep 2011 18:04:21 UTC
Local: Sun, Sep 18 2011 2:04 pm
Subject: Re: PAM modules

Xin LI <delp...@delphij.net> writes:
> LDAP?  (We do currently have some work on LDAP integration but not
> sure if the community would be interested -- this would need an import
> of stripped down OpenLDAP) and modifies OpenSSH to support public key
> in LDAP directory.

I would vote for importing a *complete* OpenLDAP, unless there are good
reasons not to; "slim base" isn't, considering how useful LDAP is.

DES
--
Dag-Erling Smørgrav - d...@des.no
_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hartmann, O.  
View profile  
 More options Sep 18 2011, 2:58 pm
Newsgroups: fa.freebsd.security
From: "Hartmann, O." <ohart...@zedat.fu-berlin.de>
Date: Sun, 18 Sep 2011 18:58:57 UTC
Local: Sun, Sep 18 2011 2:58 pm
Subject: Re: PAM modules
On 09/18/11 20:03, Dag-Erling Smørgrav wrote:

> Xin LI <delp...@delphij.net> writes:
>> LDAP?  (We do currently have some work on LDAP integration but not
>> sure if the community would be interested -- this would need an import
>> of stripped down OpenLDAP) and modifies OpenSSH to support public key
>> in LDAP directory.
> I would vote for importing a *complete* OpenLDAP, unless there are good
> reasons not to; "slim base" isn't, considering how useful LDAP is.

> DES

If this is a real opportunity,

+1 for that.
_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Tancsa  
View profile  
 More options Sep 19 2011, 2:02 pm
Newsgroups: fa.freebsd.security
From: Mike Tancsa <m...@sentex.net>
Date: Mon, 19 Sep 2011 18:02:04 UTC
Local: Mon, Sep 19 2011 2:02 pm
Subject: Re: PAM modules
On 9/16/2011 3:10 PM, Corey Smith wrote:

> On 09/16/2011 11:05 AM, Dag-Erling Smørgrav wrote:
>>  My question is: which ones?

> security/pam_ssh_agent_auth

> It is BSD licensed and handy for sudo.

Neato, I didnt know of this module for sudo!  However, with the default
install on AMD64, I am getting coredump.

I added

 # auth
 auth           include         system
-
+auth           sufficient      /usr/local/lib/pam_ssh_agent_auth.so
file=/etc/sudokeys debug
 # account
 account                include         system

to /usr/local/etc/pam.d/sudo

and added

--- sudoers.sample      2011-09-19 13:24:56.000000000 -0400
+++ sudoers     2011-09-19 13:29:17.000000000 -0400
@@ -62,6 +62,10 @@
 ## Uncomment to enable special input methods.  Care should be taken as
 ## this may allow users to subvert the command being run via sudo.
 # Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE
QT_IM_SWITCHER"
+
+Defaults env_keep += SSH_AUTH_SOCK
+
+

I must be missing something obvious?

        ---Mike

--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Patrick Lamaiziere  
View profile  
 More options Sep 19 2011, 4:30 pm
Newsgroups: fa.freebsd.security
From: Patrick Lamaiziere <patf...@davenulle.org>
Date: Mon, 19 Sep 2011 20:30:27 UTC
Local: Mon, Sep 19 2011 4:30 pm
Subject: Re: PAM modules
Le Fri, 16 Sep 2011 15:10:09 -0400,
Corey Smith <corsm...@gmail.com> a écrit :

Hello,

> > My question is: which ones?

> security/pam_ssh_agent_auth

> It is BSD licensed and handy for sudo.

But sudo itself is not the in base, so?

(while i'm here, +1 for ldap)

Regards.
_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "pam_ssh_agent_auth coredump on AMD64 (was Re: PAM modules)" by Mike Tancsa
Mike Tancsa  
View profile  
 More options Sep 20 2011, 3:15 pm
Newsgroups: fa.freebsd.security
From: Mike Tancsa <m...@sentex.net>
Date: Tue, 20 Sep 2011 19:15:09 UTC
Local: Tues, Sep 20 2011 3:15 pm
Subject: pam_ssh_agent_auth coredump on AMD64 (was Re: PAM modules)
On 9/19/2011 2:00 PM, Mike Tancsa wrote:

> On 9/16/2011 3:10 PM, Corey Smith wrote:
>> On 09/16/2011 11:05 AM, Dag-Erling Smørgrav wrote:
>>>  My question is: which ones?

>> security/pam_ssh_agent_auth

>> It is BSD licensed and handy for sudo.

> Neato, I didnt know of this module for sudo!  However, with the default
> install on AMD64, I am getting coredump.

Actually, I tried the same setup on i386 and it seems to work just fine.
 However, on an AMD64 machine, sudo just coredumps.  Anyone running this
setup on amd64 ?

Running with -D9, normally it looks something like

% sudo -D9 su
sudo: settings: debug_level=9
sudo: settings: progname=sudo
sudo: settings: network_addrs=....
sudo: sudo_mode 1
sudo: policy plugin returns 1
sudo: command info: umask=022
sudo: command info: command=/usr/bin/su
sudo: command info: runas_uid=0
sudo: command info: runas_gid=0
sudo: command info: runas_groups=0,5
sudo: command info: closefrom=3
sudo: command info: set_utmp=true
sudo: command info: login_class=default

where as on amd64,

% sudo -D9 su
sudo: settings: debug_level=9
sudo: settings: progname=sudo
sudo: settings: network_addrs=....
sudo: sudo_mode 1
Segmentation fault

It seems to die in the call to

static int
policy_check(struct plugin_container *plugin, int argc, char * const argv[],
    char *env_add[], char **command_info[], char **argv_out[],
    char **user_env_out[])
{
    return plugin->u.policy->check_policy(argc, argv, env_add, command_info,
        argv_out, user_env_out);

}

I cant get it to coredump since its setuid.  Before I start adding more
debug printfs, does anyone have any suggestions as to what it might be ?

        ---Mike

--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 47   Newer >
« Back to Discussions « Newer topic     Older topic »