Re: Force passwordcheck in login.conf

2010-10-18 Thread Adam M. Dutko
Thanks. I'll add that as a possible solution for folks who wish to add Python to the base install. Brad http://www.deweyonline.com/files/openbsd/login_-custompasswd Thanks for sharing. I didn't see any explicit log file closing but then again sys.exit() should clean up.

Re: Force passwordcheck in login.conf

2010-10-18 Thread Brad Tilley
One last note... it seems that OpenPAM on the other BSDs and LinuxPAM on Linux systems address all of PCI requirement 8. However, they all seem to differ slightly with their PAM implementations and PAM in general seems overly complex (to me at least). I mis-configured PAM on a test system

Re: Force passwordcheck in login.conf

2010-10-17 Thread Dewey Hylton
sorry for the subject goof ... On Oct 17, 2010, at 11:51 AM, Dewey Hylton wrote: -Original Message- From: Brad Tilley [mailto:b...@16systems.com] Sent: den 14 oktober 2010 13:36 To: Leif Blixt; openbsd-misc Subject: Re: Force passwordcheck in login.conf Leif Blixt wrote: We

Re: Force passwordcheck in login.conf

2010-10-17 Thread Brad Tilley
On 10/17/2010 12:56 PM, Dewey Hylton wrote: just a quick note on how we addressed 8.5.13 ... yes, it requires python, but we are a python shop so this was not an issue for us. i'm just posting it for the purpose of sharing ideas. http://www.deweyonline.com/files/openbsd/login_-custompasswd

Re: Force passwordcheck in login.conf

2010-10-14 Thread Leif Blixt
Brad Tilley brad at 16systems.com writes: I was experimenting with a program to meet PCI DSS 1.2 password length and content/complexity requirements and integrating it with login.conf for users who have shell access to OpenBSD systems. It seems to work as expected, but I wanted to run my

Re: Force passwordcheck in login.conf

2010-10-14 Thread Brad Tilley
Leif Blixt wrote: Brad Tilley brad at 16systems.com writes: I was experimenting with a program to meet PCI DSS 1.2 password length and content/complexity requirements and integrating it with login.conf for users who have shell access to OpenBSD systems. It seems to work as expected, but I

Re: Force passwordcheck in login.conf

2010-10-14 Thread Brad Tilley
Leif Blixt wrote: Hi! We have just figured out a different approach, and will discuss our new idea with our QSA tomorrow. The idea is to completely turn of the possibility to log in with passwords, and to use SSH key pairs with long and good passphrases instead. It will lead to more work

Re: Force passwordcheck in login.conf

2010-10-14 Thread Leif Blixt
passwordcheck in login.conf Leif Blixt wrote: Hi! We have just figured out a different approach, and will discuss our new idea with our QSA tomorrow. The idea is to completely turn of the possibility to log in with passwords, and to use SSH key pairs with long and good passphrases instead

Re: Force passwordcheck in login.conf

2010-10-14 Thread Leif Blixt
13:36 To: Leif Blixt; openbsd-misc Subject: Re: Force passwordcheck in login.conf Leif Blixt wrote: Brad Tilley brad at 16systems.com writes: I was experimenting with a program to meet PCI DSS 1.2 password length and content/complexity requirements and integrating it with login.conf for users

Re: Force passwordcheck in login.conf

2010-10-14 Thread Brad Tilley
what your QSA determines. It seems some of this is open to interpretation and depends on the opinion of the QSA. Brad -Original Message- From: Brad Tilley [mailto:b...@16systems.com] Sent: den 14 oktober 2010 14:09 To: Leif Blixt; openbsd-misc Subject: Re: Force passwordcheck

Re: Force passwordcheck in login.conf

2010-10-14 Thread Joachim Schipper
On Wed, Oct 13, 2010 at 09:09:29AM +, Leif Blixt wrote: Brad Tilley brad at 16systems.com writes: I was experimenting with a program to meet PCI DSS 1.2 password length and content/complexity requirements and integrating it with login.conf for users who have shell access to OpenBSD

FW: Force passwordcheck in login.conf

2010-10-14 Thread Stuart VanZee
For 8.5.12 see login.conf man page, look for passwordcheck. You will have to write (or find) a program that keeps track of previously used passwords. I just stored a hash of them in a file and have it check to see if the new password hash matches any of the old 4 password hashes. for 8.5.13 see

Re: FW: Force passwordcheck in login.conf

2010-10-14 Thread Brad Tilley
Stuart VanZee wrote: For 8.5.12 see login.conf man page, look for passwordcheck. You will have to write (or find) a program that keeps track of previously used passwords. I just stored a hash of them in a file and have it check to see if the new password hash matches any of the old 4

Re: FW: Force passwordcheck in login.conf

2010-10-14 Thread Bret S. Lambert
On Thu, Oct 14, 2010 at 10:16:12AM -0400, Brad Tilley wrote: Stuart VanZee wrote: For 8.5.12 see login.conf man page, look for passwordcheck. You will have to write (or find) a program that keeps track of previously used passwords. I just stored a hash of them in a file and have it check

Re: Force passwordcheck in login.conf

2010-10-14 Thread Stuart Henderson
On 2010-10-13, Brad Tilley b...@16systems.com wrote: Mark Romer wrote: use passwdqc it is in packages. in login.conf under default I have: :minpasswordlen=12:\ :login-tries=4:\ :passwordtries=3:\ :passwordcheck=/usr/local/libexec/passwdqc -3 12 Mark I've

Re: Force passwordcheck in login.conf

2010-10-13 Thread Alexander Hall
On 10/13/10 02:46, Brad Tilley wrote: I was experimenting with a program to meet PCI DSS 1.2 password length and content/complexity requirements and integrating it with login.conf for users who have shell access to OpenBSD systems. It seems to work as expected, but I wanted to run my

Re: Force passwordcheck in login.conf

2010-10-13 Thread Mark Romer
use passwdqc it is in packages. in login.conf under default I have: :minpasswordlen=12:\ :login-tries=4:\ :passwordtries=3:\ :passwordcheck=/usr/local/libexec/passwdqc -3 12 Mark On Tue, Oct 12, 2010 at 8:46 PM, Brad Tilley b...@16systems.com wrote: I was

Re: Force passwordcheck in login.conf

2010-10-13 Thread Brad Tilley
Mark Romer wrote: use passwdqc it is in packages. in login.conf under default I have: :minpasswordlen=12:\ :login-tries=4:\ :passwordtries=3:\ :passwordcheck=/usr/local/libexec/passwdqc -3 12 Mark I've heard complaints that it is too stringent (I tend to agree,

Force passwordcheck in login.conf

2010-10-12 Thread Brad Tilley
I was experimenting with a program to meet PCI DSS 1.2 password length and content/complexity requirements and integrating it with login.conf for users who have shell access to OpenBSD systems. It seems to work as expected, but I wanted to run my configuration by misc. I appended the following