From nobody Fri Dec 10 23:14:30 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id AB6D118E8800 for ; Fri, 10 Dec 2021 23:14:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J9mvB39cTz3Mm0 for ; Fri, 10 Dec 2021 23:14:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 49F6E22FB9 for ; Fri, 10 Dec 2021 23:14:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1BANEUXd084066 for ; Fri, 10 Dec 2021 23:14:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BANEUhZ084065 for ports-bugs@FreeBSD.org; Fri, 10 Dec 2021 23:14:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 256728] rc.subr: ${name}_user uses "su -m" that invokes root shell instead of /bin/sh Date: Fri, 10 Dec 2021 23:14:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: 0mp@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639178070; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uFKmZsWoRc6+DRVgOw97yQ8VoLQ8SBtuwTpe+wL0qWE=; b=lIFl/WKrgEXZK0oxabYoz+QOsMHkrBoo1WXBIHkSyFCW4wlolqneWsNRjhcbfh8iDmNUdg jUHyIdpBEhk8ON6qo+ToFjbh0ERIUbmmf+NIuwbWSEccy2IA1xpN/F3zyScltetfwwAiYl pF6SpPxWnLChqrKWfM0TIuY70dpV2MHns8D3iWooB4qW+vUI3Otn8ZY0tbQEl4NG48IvVm KV1Sh2VuDBC1U97on531LMkVIgbMfXSR9l7d2UdIrhYN44T5/mXLv3eRSLx03QS1vvkx+6 X27cv46mj5lXIIzvE3lpgn89EQIgP0ahDE5nVbQ7qV+2MnSOCwyOVv5SCWlBNQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639178070; a=rsa-sha256; cv=none; b=XpLEIExPfCW6eaAYPmF8UtxEvkZ6O2SQCx98DrKjMggGPOEPaWlOjz6MK0D/SeQi0wYnBV fgeGrWDM91wry3O88YEqc/ytfcuS6Nq2JVDSVtApl7j+ikEUPIIApSysY+HyVv7zhje3o8 mfKppwpp0Tf/p7XIHs7pBxGgvBI+y2T+DR4gpnGdxYukVmxCuQan1vNgDOIcUChMn0AnrP ock23k+z5YswYLAPn8JcTJ/7RDN3TUTrzzXxqQ8vOAILs4Nr+HyJKN/CNIY/Fkloic0+GL JQE5NdlW3d66Abujy05O5I3y3gnBSAQfZLi7SeJFAacgkFDCQSWlC1moxgprMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256728 --- Comment #1 from Mateusz Piotrowski <0mp@FreeBSD.org> --- The default root shell is now /bin/sh. It makes the issue a bit less pressi= ng for new releases. The problem is still that users don't expect the choice of the interactive root shell to impact their rc service scripts... --=20 You are receiving this mail because: You are on the CC list for the bug.=