From owner-freebsd-security@FreeBSD.ORG Thu Sep 22 08:17:12 2011 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB194106564A for ; Thu, 22 Sep 2011 08:17:12 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5BC028FC13 for ; Thu, 22 Sep 2011 08:17:12 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:d578:b545:b004:4d]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 44DF14AC1C for ; Thu, 22 Sep 2011 12:17:10 +0400 (MSD) Date: Thu, 22 Sep 2011 12:17:06 +0400 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <679126918.20110922121706@serebryakov.spb.ru> To: freebsd-security@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Subject: pam_ldap and nss_ldap : checken and egg problem with "wheel" group and "su" utility X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2011 08:17:12 -0000 Hello, Freebsd-security. I have chicken-adn-egg problem with wheel group and su utility when all users but root are stored in LDAP. wheel group should be in /etc/group to allow basic system services to start before LDAP is available. But when "wheel" is in /etc/group with only "root" member (as all other members are in LDAP), system never takes "wheel" members from LDAP (because /etc/group has priority) and "su" doesn't work! What is proper way to resolve this problem? --=20 // Black Lion AKA Lev Serebryakov