Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2001 17:05:24 -0800 (PST)
From:      Brian Behlendorf <brian@hyperreal.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/31997: login: chmod(/dev/tty??): No such file or directory
Message-ID:  <200111150105.fAF15Op15058@freefall.freebsd.org>

index | next in thread | raw e-mail


>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 <des@ofug.org>
To: cperciva@sfu.ca
Cc: Brian Behlendorf <brian@hyperreal.org>, security@FreeBSD.ORG
Subject: Re: login: chmod(/dev/tty??): No such file or directory

Colin Percival <colin.percival@wadham.ox.ac.uk> 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



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111150105.fAF15Op15058>