From nobody Thu Feb 29 05:12:29 2024 X-Original-To: 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 4TlfVP2TDyz5BvYH for ; Thu, 29 Feb 2024 05:12:29 +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 4TlfVP0t7Vz4VmM for ; Thu, 29 Feb 2024 05:12:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709183549; a=rsa-sha256; cv=none; b=kcZ/XROZkgbN103tlkmqp0288AmIfVemvxfPF5j9rGOzSX3Zb3ijj4iq4pmFjNKbSvxwF4 iZPy8L8TTL9KHaecQPSvFw43SfjUKmmA9LIl65RKV1XYmlaqwtVco5+SFhty4IbLASuSsp Dt3wMy8d99VEjYGEDCJTzaouh1yyLGVoy3ieKiYGDy1wcvPHjvCLN9Fw/fMB6F+EKRQnIn lItWy3gkRQa6fI4BbGYZd8O+/Nl8cKs/QSLVJyw2dePl9P+shjeSyMUTlI14BWWMGlbf1P x0DbYIkH6SHl27XPtOXtUc7i4UQBsLnmqLK06hnjehW4ukad+B798K0PO0x+jw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709183549; 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=vEIs6QDlbw23vCJGReSLD/NRngaq+oajW+lMh0B8t+w=; b=q+d/tRey/g5eZtQPABD7valMBi9nYLtS+qblXn9zEWBeyY2OaMbiPrcV2IIh4annJ6m4XX TH2JEU+Y3xegB2IXIcLyZgaJhc397kkk56nMTxDX21xyAnABKZFSfmEPiqti0IiSMoINdC 4LKPJmoiUQCRXtrLH2vqTSRh0qOdYAL+7qiIpGWL5gvogEunKx7HfGqs4FgOhsJ/Zm92fN lAa7SHh44XgJkf6Jw7PqqP7F5fERGWOlMb4e24RUnGM0trkT3o72OoII7VmwPjeH/UhpHi ya41LaON2go2WWUkgqxh/K6ozRqtt4ldQdlvhjZh1mvW5aiWWhaWYv9M7qob5A== 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 4TlfVP0VlnzSX2 for ; Thu, 29 Feb 2024 05:12:29 +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 41T5CTjC077294 for ; Thu, 29 Feb 2024 05:12:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41T5CTs0077293 for bugs@FreeBSD.org; Thu, 29 Feb 2024 05:12:29 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: bugs@FreeBSD.org Subject: [Bug 269025] fortune doesn't honor hushlogin Date: Thu, 29 Feb 2024 05:12:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tatsuki_makino@hotmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269025 Tatsuki Makino changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tatsuki_makino@hotmail.com --- Comment #3 from Tatsuki Makino --- I have wondered the same thing a very long time ago :) Existence of ~/.hushlogin changes the behavior of login(1) and sshd(8). https: //cgit.freebsd.org/src/tree/usr.bin/login/login.c?h=3Dreleng/14.0#n4= 44 https: //cgit.freebsd.org/src/tree/crypto/openssh/session.c?h=3Dreleng/14.0= #n824 login(1) also behaves differently depending on ~/.login_conf. It is enabled by writing me:hushlogin: https: //cgit.freebsd.org/src/tree/usr.bin/login/login.c?h=3Dreleng/14.0#n4= 16 It seems that sshd(8) is not reading ~/.login_conf. It may have been read, but it seems that hushlogin has not been picked up. https: //cgit.freebsd.org/src/tree/crypto/openssh/session.c?h=3Dreleng/14.0= #n1384 The existence of a file is one condition, but there are also conditions und= er which it is no longer needed when the file does not exist. --=20 You are receiving this mail because: You are the assignee for the bug.=