From owner-freebsd-audit Mon Apr 16 18:49:55 2001 Delivered-To: freebsd-audit@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 6ACCA37B440 for ; Mon, 16 Apr 2001 18:49:52 -0700 (PDT) (envelope-from arr@watson.org) Received: from localhost (arr@localhost) by fledge.watson.org (8.11.3/8.11.3) with SMTP id f3H1oOY76134 for ; Mon, 16 Apr 2001 21:50:25 -0400 (EDT) (envelope-from arr@watson.org) Date: Mon, 16 Apr 2001 21:50:24 -0400 (EDT) From: "Andrew R. Reiter" To: freebsd-audit@freebsd.org Subject: more audit work... chpass (openbsd sync) Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-261229086-987472224=:76109" Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-261229086-987472224=:76109 Content-Type: TEXT/PLAIN; charset=US-ASCII hi, attached is another diff for chpass to disallow non-printables in the passwd file. this is another obsd sync up. you can also find the diff at www.watson.org/~arr/fbsd-audit/usr.bin/chpass/ andrew *-------------................................................. | Andrew R. Reiter | arr@fledge.watson.org | "It requires a very unusual mind | to undertake the analysis of the obvious" -- A.N. Whitehead --0-261229086-987472224=:76109 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="edit.c.diff" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: LS0tIGVkaXQuYy5vcmlnCU1vbiBBcHIgMTYgMTc6NDQ6NTkgMjAwMQ0KKysr IGVkaXQuYwlNb24gQXByIDE2IDE3OjQ4OjUyIDIwMDENCkBAIC0xODQsMTAg KzE4NCwxMCBAQA0KIAlzdHJ1Y3QgcGFzc3dkICpwdzsNCiB7DQogCUVOVFJZ ICplcDsNCi0JY2hhciAqcDsNCisJY2hhciAqcSwgKnA7DQogCXN0cnVjdCBz dGF0IHNiOw0KIAlGSUxFICpmcDsNCi0JaW50IGxlbiwgbGluZTsNCisJdW5z aWduZWQgaW50IGxlbiwgbGluZTsNCiAJc3RhdGljIGNoYXIgYnVmW0xJTkVf TUFYXTsNCiANCiAJaWYgKCEoZnAgPSBmb3Blbih0ZW1wbmFtZSwgInIiKSkp DQpAQCAtMjI1LDcgKzIyNSwxMSBAQA0KIAkJCQkJZ290byBiYWQ7DQogCQkJ CX0NCiAJCQkJd2hpbGUgKGlzc3BhY2UoKisrcCkpOw0KLQkJCQlpZiAoZXAt PmV4Y2VwdCAmJiBzdHJwYnJrKHAsIGVwLT5leGNlcHQpKSB7DQorCQkJCWZv ciAocSA9IHA7ICpxICYmIGlzcHJpbnQoKnEpOyBxKyspIHsNCisJCQkJCWlm IChlcC0+ZXhjZXB0ICYmIHN0cmNocihlcC0+ZXhjZXB0LCpxKSkNCisJCQkJ CQlicmVhazsNCisJCQkJfQ0KKwkJCQlpZiAoKnEpIHsNCiAJCQkJCXdhcm54 KA0KIAkJCQkgICAiaWxsZWdhbCBjaGFyYWN0ZXIgaW4gdGhlIFwiJXNcIiBm aWVsZCIsDQogCQkJCQkgICAgZXAtPnByb21wdCk7DQo= --0-261229086-987472224=:76109-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message