Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752651Ab0AKBnO (ORCPT ); Sun, 10 Jan 2010 20:43:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751508Ab0AKBnO (ORCPT ); Sun, 10 Jan 2010 20:43:14 -0500 Received: from lists.laptop.org ([18.85.2.145]:39607 "EHLO mail.laptop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750755Ab0AKBnN (ORCPT ); Sun, 10 Jan 2010 20:43:13 -0500 Date: Sun, 10 Jan 2010 20:45:30 -0500 From: Michael Stone To: Tetsuo Handa Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-security-module@vger.kernel.org, Andi Kleen , David Lang , Oliver Hartkopp , Alan Cox , Herbert Xu , Valdis Kletnieks , Bryan Donlan , Evgeniy Polyakov , "C. Scott Ananian" , James Morris , "Eric W. Biederman" , Bernie Innocenti , Mark Seaborn , Randy Dunlap , =?iso-8859-1?Q?Am=E9rico?= Wang , Tetsuo Handa , Samir Bellabes , Casey Schaufler , "Serge E. Hallyn" , Pavel Machek , Al Viro , Kyle Moffett , Michael Stone Subject: Re: [PATCH 2/3] Security: Implement disablenetwork semantics. (v4) Message-ID: <20100111014530.GB4070@heat> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <201001111007.EAG82373.VHFQSLFOFMOOJt@I-love.SAKURA.ne.jp> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 997 Lines: 24 Tetsuo Handa wrote: >Michael Stone wrote: >> Examples of software that I want to be able to gain privileges normally include: >> >> rainbow, which requires privilege in order to add new accounts to the system >> and in order to call setuid() but which does not require networking >> privileges. > > If the system is not using local files (i.e. /etc/passwd and /etc/shadow), > the process who wants to add new accounts to the system might need network > access (e.g. to LDAP server), doesn't it? General purpose account manipulation tools might need network access but rainbow handles all its account manipulations via state stored in /var/spool/rainbow/2. This state is made available to the rest of the system via libnss_rainbow. Michael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/