X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-gx0-f194.google.com (mail-gx0-f194.google.com [209.85.161.194]) by lists.alpinelinux.org (Postfix) with ESMTP id 310301EBFF5 for ; Thu, 3 Feb 2011 03:00:23 +0000 (UTC) Received: by gxk1 with SMTP id 1so83509gxk.1 for ; Wed, 02 Feb 2011 19:00:22 -0800 (PST) Received: by 10.236.105.194 with SMTP id k42mr21273651yhg.65.1296702022250; Wed, 02 Feb 2011 19:00:22 -0800 (PST) Received: from petrie (99-32-97-100.uvs.tulsok.sbcglobal.net [99.32.97.100]) by mx.google.com with ESMTPS id 30sm214313yhl.21.2011.02.02.19.00.21 (version=SSLv3 cipher=RC4-MD5); Wed, 02 Feb 2011 19:00:21 -0800 (PST) Date: Wed, 2 Feb 2011 20:59:41 -0600 From: William Pitcock To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] grsecurity RBAC for Alpine 2.2 Message-ID: <20110202205941.4c8ce4ff@petrie> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; x86_64-unknown-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit hi, i've been working on setting up RBAC integration for alpine 2.2, which we can then enable by default in e.g. setup-alpine. the plan is to have as /etc/grsec/policy: include_dir /etc/grsec/policy.d which allows packages to ship grsec policy files in /etc/grsec/policy.d, e.g. /etc/grsec/policy.d/openssh and /etc/grsec/policy.d/busybox containing RBAC policy considerations for those packages. this will make alpine even more locked down as UID=0 becomes basically meaningless if the RBAC system is enabled. in combination with our other security measures, this should be an entirely overkill solution for everybody's needs. in setup-alpine we will do the following: - prompt if the user wants to enable role-based access control - if the user says yes, we will create a default admin role and prompt for a password and enable the grsec-rbac initscript at boottime. - if the user says no, then we do nothing... considerations: - should we only allow RBAC on server and embedded targets for 2.2? (e.g. not on desktop installs; this means setup-desktop disables the grsec-rbac initscript for 2.2) i'm presently working on the initscript and gradm integration, then i'll put gradm in main. once i have gradm in main, i'll commit package updates adding policy bits to the core packages (openssh, udev, busybox, so on.) - nenolod --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---