Date: Wed, 22 Apr 1998 04:52:47 -0700 (PDT) From: cdlevin@dialisdn.com To: freebsd-gnats-submit@FreeBSD.ORG Subject: bin/6383: csh - when ctrl-d is pressed, file is chmodded and chownd for 0 access Message-ID: <199804221152.EAA25528@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 22 05:00:01 PDT 1998 >Last-Modified: >Originator: Curtis D. Levin >Organization: >Release: 2.2.6 >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. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804221152.EAA25528>