From nobody  Wed Apr 22 04:52:47 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id EAA25528;
          Wed, 22 Apr 1998 04:52:47 -0700 (PDT)
          (envelope-from nobody)
Message-Id: <199804221152.EAA25528@hub.freebsd.org>
Date: Wed, 22 Apr 1998 04:52:47 -0700 (PDT)
From: cdlevin@dialisdn.com
To: freebsd-gnats-submit@freebsd.org
Subject: csh - when ctrl-d is pressed, file is chmodded and chownd for 0 access
X-Send-Pr-Version: www-1.0

>Number:         6383
>Category:       bin
>Synopsis:       csh - when ctrl-d is pressed, file is chmodded and chownd for 0 access
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 22 05:00:01 PDT 1998
>Closed-Date:    Sun Jun 11 12:03:12 PDT 2000
>Last-Modified:  Sun Jun 11 12:07:40 PDT 2000
>Originator:     Curtis D. Levin
>Release:        2.2.6
>Organization:
>Environment:
generic kernel, happened during post install downloading. 486dx2 cyrix
>Description:
When ctrl-d is pressed while root, root is logged out of the system,
and csh is chmodded 600, chowned root.root . At least, that's the way
the file was found when booting up with the fixit floppy. No logins
were processed after that, since csh was the default shell. I don't
know if anyone else might be able to dupe this.
>How-To-Repeat:
Run csh as root, and hit ctrl-d. It will log you out of the system,
and might prevent you from logging back in. Do not kill -9 csh, or
all shells will log you out, and you will be locked out if it is the
default shell.
>Fix:
Check perms on the file in /bin, if you're lucky enough to have
another shell running. That might fix the problem. Do not reboot. You
will wish you hadn't.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: nrahlstr 
State-Changed-When: Sun Jun 11 12:03:12 PDT 2000 
State-Changed-Why:  
I was unable to reproduce this.  If this is still a problem we can 
re-open this PR. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=6383 
>Unformatted:
