From owner-freebsd-security Wed Nov 14 16: 4:19 2001 Delivered-To: freebsd-security@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 53A6C37B417 for ; Wed, 14 Nov 2001 16:04:16 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 7B8B414C2E; Thu, 15 Nov 2001 01:04:14 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: cperciva@sfu.ca Cc: Brian Behlendorf , Subject: Re: login: chmod(/dev/tty??): No such file or directory References: <5.0.2.1.1.20011114234332.00aefb90@popserver.sfu.ca> From: Dag-Erling Smorgrav Date: 15 Nov 2001 01:04:14 +0100 In-Reply-To: <5.0.2.1.1.20011114234332.00aefb90@popserver.sfu.ca> Message-ID: Lines: 19 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Colin Percival writes: > At 15:42 14/11/2001 -0800, Brian Behlendorf wrote: > >Saw this in last night's logs: > > > >Nov 13 15:56:13 taz3 login: chmod(/dev/tty??): No such file or directory > >Nov 13 15:56:13 taz3 login: chmod(/dev/tty??): No such file or directory > > > >... anyone else seen this kind of thing? > This happens if login is run without being bound to a pty; the most > common example of this is using scp to a machine which has 'UseLogin > yes' set in sshd_config. This is clearly a bug in login(8) (albeit a minor one). Brian, could you please file a PR about this and notify me when you get the PR number back from GNATS? DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message