Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp314396ybb; Tue, 7 Apr 2020 23:47:16 -0700 (PDT) X-Google-Smtp-Source: APiQypLkIhUsMCj3ipNMgTRAprrjBPBMAB2zVUODm8grKyM9mfklZ+9gl/fGsNH/R/fe8z4Szd9t X-Received: by 2002:aca:7213:: with SMTP id p19mr1413403oic.159.1586328436046; Tue, 07 Apr 2020 23:47:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586328436; cv=none; d=google.com; s=arc-20160816; b=WP+/hVim0COqBlwS3QtEA3zVrMOj4ENh4y6Z0EQ5tAqFTQyPEHWUj4zIiWEMn7bg2j eqlqf20IbfKCa0ax2Za1fgaDSg/+mPQy1fxS0SItn9h7GLF9KDo1LIYKARTn76hN6ui1 mNAbyzgv7J+NYECGbuAmNOkeY0t9Ot9UTJBrBR2vJUvAFU/86gXWTK+dAq8XoZuD0uS0 WHvq0ME95tIBrb3wbqVm+FHUDrzHzf4G8I1o3MVUaIRDjeLyWe6ORjELf4EzXOVY/osP CIaSPzgVQrhOhcWfbV04R6eN1pvEGVU7BN7Wo7el36Yf9GByeGxWq67aHnd1DmVlGtvZ KWrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=taBp7hRv4aZ+Ll2s5gSJY4xTbuBA/O7YxRERDW+kY6c=; b=K8bsja3FEZMlLPG2hSehBKr22Sh+154UcOHL6ivANRWYuCo0/UTbnI98RJ5W3RmwCT lLLQUiq8hJDr2eAPfr/KJyt4rrMurB5a0y3jZMQ7DhZLaSeOxBymjDBJugkNH0See3yA KAugaOxrLkNA5D3Ep7JYuYb+px3xsQ0mkpAc1wkjbegggqOQ34Xg/a7bi/85QCSJT7OQ 7EZSm4VlQeueHb672FNwchQkSz/gfOqMJ/CMsQavIK99EDGDxQ0jYk0LvrnpwUYPz8px dLm2I9x9shm0aic7mV1Y52a9apuFc34UjpiyGHr8i6oCZHe4aurOUuA4vxi9aIgGGTAz DMDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HAjnypq+; spf=pass (google.com: best guess record for domain of selinux-refpolicy-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l9si2291062otf.51.2020.04.07.23.47.13; Tue, 07 Apr 2020 23:47:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of selinux-refpolicy-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HAjnypq+; spf=pass (google.com: best guess record for domain of selinux-refpolicy-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726475AbgDHGrJ (ORCPT + 13 others); Wed, 8 Apr 2020 02:47:09 -0400 Received: from mail-lf1-f44.google.com ([209.85.167.44]:44741 "EHLO mail-lf1-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726146AbgDHGrJ (ORCPT ); Wed, 8 Apr 2020 02:47:09 -0400 Received: by mail-lf1-f44.google.com with SMTP id 131so4241469lfh.11 for ; Tue, 07 Apr 2020 23:47:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=taBp7hRv4aZ+Ll2s5gSJY4xTbuBA/O7YxRERDW+kY6c=; b=HAjnypq+aD19uGH/v5B0inXA2RbCQlwJLvX8CEeGlMjyaKDJLm9HE3F3u549UxsXJM 0YPlza0iREYPJ/iGd7W4hh07cgeiAOTnfXIF6fBMl+xVbM3JsFzRDRpwHLJJ9bNWdU0k 2IGw/83axkdthXGhUtjEQ3j8sL3PkqKP2UXjj3TEjbGUCzGBCbWgZMpnxIuuRxVCxlQx uZtVcshSPzdU3ZzTCdlYBYbhD8w823rhpPyPfbvv9B84i5frLGpWAX7TFb6EZiaTQCxc kB+7CE4mVuiswKVa1z2jWWoHBnjm2Qv6e9jC8bussxlKQe3sRn3DlWDiDxv4pnPCCQ1Q fdBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=taBp7hRv4aZ+Ll2s5gSJY4xTbuBA/O7YxRERDW+kY6c=; b=TFLZoEWRrvirBRQrN0ONNiILBlngWiwjSqlZoK60nTm9a7s/J4K7Z+Y6/y5FGET3fL 2aVnrHE84QkW0XQEqAtbxfH9YLCoNCT47lbTVDfDek+i82Z9DFZrN4XsPQpnrCKqMw+H HHMIqgkMK20ED4LZ34+0J4mHxW2rvKj3pk8MuOZ0LgTwioujLnmMX16q1p6F6bfk4GB/ C279jFPRFwf+PxoJ8kNfno7guiIiyeoIYJ1GUncBEhKoX005FDxLoWMZuAU5+nxdjmKL lR1+WHyXb7P5yCbQV03RjyTqmiRNuUvAQMpBRZJa/VyuQJ1+5Ef0oa6E41HaY+ZW+yw9 TWXw== X-Gm-Message-State: AGi0PuacxURkU+FXsJLsIA09C5nZeuNb3tN3kxmBnFY3u///gwSq9iEn PzvgP9NltCyvxXCMyNlAQDjZwbujPgY= X-Received: by 2002:a19:6746:: with SMTP id e6mr3580483lfj.43.1586328426437; Tue, 07 Apr 2020 23:47:06 -0700 (PDT) Received: from [192.168.1.38] (88-114-211-119.elisa-laajakaista.fi. [88.114.211.119]) by smtp.gmail.com with ESMTPSA id t8sm15314853lfe.31.2020.04.07.23.47.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Apr 2020 23:47:06 -0700 (PDT) Subject: Re: logind shadow access To: Russell Coker , selinux-refpolicy@vger.kernel.org References: <1619795.CQcUudZz10@liv> From: Topi Miettinen Message-ID: <905d6a35-5c75-87c2-c3a5-583897a81e6f@gmail.com> Date: Wed, 8 Apr 2020 09:47:05 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <1619795.CQcUudZz10@liv> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: selinux-refpolicy-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org On 8.4.2020 5.25, Russell Coker wrote: > # audit2allow -l < /var/log/audit/audit.log |tail -1 > allow systemd_logind_t shadow_t:file read; > > Is there any good reason why systemd_logind might need to access /etc/shadow? > For account enable/disable state and so on: https://github.com/systemd/systemd/issues/15105. -Topi