Return-Path: Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=linux.intel.com (client-ip=192.55.52.120; helo=mga04.intel.com; envelope-from=aleksandr.v.tereschenko@linux.intel.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.intel.com Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 48PB5f5WT0zDqZy for ; Fri, 21 Feb 2020 23:45:56 +1100 (AEDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Feb 2020 04:45:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,468,1574150400"; d="scan'208";a="229840808" Received: from avteresc-mobl1.ger.corp.intel.com (HELO [172.22.245.179]) ([172.22.245.179]) by orsmga008.jf.intel.com with ESMTP; 21 Feb 2020 04:45:53 -0800 Subject: Re: Proposal: delete BMCWeb sessions after some kinds of account changes To: openbmc@lists.ozlabs.org References: <62c905ac-d35b-f670-aed7-589488676db0@linux.ibm.com> From: Alexander Tereschenko Message-ID: Date: Fri, 21 Feb 2020 13:45:52 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <62c905ac-d35b-f670-aed7-589488676db0@linux.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Feb 2020 12:46:00 -0000 On 17-Feb-20 23:10, Joseph Reynolds wrote: > This proposal is to enhance BMCWeb to terminate login session that are > associated with accounts that have incompatible changes.  I understand > this practice is allowed Redfish and recommended by OWASP. > This makes sense to me, with one specific note - see below > - The [proposed][] ExpiredPassword D-Bus property and the > PasswordChangeRequired Redfish properties set to True.  Sessions where > this property is True are needed for a user to change their own password. While not terminating these sessions (which certainly makes sense), should we restrict them to only allow for password change action starting immediately after that flag is set? I'm not sure how it works now. regards, Alexander