From owner-freebsd-bugs Wed Nov 14 17:10:12 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1E6BC37B419 for ; Wed, 14 Nov 2001 17:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAF1A1515579; Wed, 14 Nov 2001 17:10:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5F98337B50B for ; Wed, 14 Nov 2001 17:05:24 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAF15Op15058; Wed, 14 Nov 2001 17:05:24 -0800 (PST) (envelope-from nobody) Message-Id: <200111150105.fAF15Op15058@freefall.freebsd.org> Date: Wed, 14 Nov 2001 17:05:24 -0800 (PST) From: Brian Behlendorf To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/31997: login: chmod(/dev/tty??): No such file or directory Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 31997 >Category: bin >Synopsis: login: chmod(/dev/tty??): No such file or directory >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 14 17:10:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Brian Behlendorf >Release: 4.4-STABLE as of Oct 24 >Organization: >Environment: FreeBSD taz3.hyperreal.org 4.4-STABLE FreeBSD 4.4-STABLE #8: Wed Oct 24 22:19:32 PDT 2001 brian@taz3.hyperreal.org:/usr/obj/usr/src/sys/taz3 i386 >Description: As seen on security@freebsd.org: Date: 15 Nov 2001 01:04:14 +0100 From: Dag-Erling Smorgrav To: cperciva@sfu.ca Cc: Brian Behlendorf , security@FreeBSD.ORG Subject: Re: login: chmod(/dev/tty??): No such file or directory 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 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message