From owner-freebsd-questions Sun Jul 14 23:12:41 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA03591 for questions-outgoing; Sun, 14 Jul 1996 23:12:41 -0700 (PDT) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA03584 for ; Sun, 14 Jul 1996 23:12:38 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.5/8.6.5) with SMTP id XAA02199; Sun, 14 Jul 1996 23:12:31 -0700 (PDT) Message-Id: <199607150612.XAA02199@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: Ken Marsh cc: dwhite@resnet.uoregon.edu, questions@FreeBSD.ORG Subject: Re: /etc/nologin file invunerability In-reply-to: Your message of "Sun, 14 Jul 1996 22:43:43 PDT." From: David Greenman Reply-To: davidg@root.com Date: Sun, 14 Jul 1996 23:12:31 -0700 Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> > I tried booting with -s option, and found that I have few commands at my >> > disposal (i.e., no man pages) and I am also denied access to the file >> > /etc/nologin. "su" is also not available when I single-user boot. I can >> > delete the file when logged in as root, but then it reinstates itself when >> > I reboot. >> >> Oh, you have to key in "mount /" then "mount -a" to get your commands >> back and get / back to read/write. >> >> > This is only one of many problems I have had, including no login prompt on >> > boot, my atapi CD-ROM isn't recognized, my lpd daemon has to be >> > re-activated manually with ever print..... it think all the problems are >> > the result of using an atapi CD-ROM boot floppy from the 2.1.0 release to >> > install from the Walnut Creek 2.0.5 CD. The install was not very clean. > >so i booted with "-s" and did the "mount /" and "mount -a". Then I >removed the file /etc/nologin. When i rebooted, it had reappeared. It is >just like before. I delete it, and next time it is there again. Sounds like someone is playing a trick on you. /etc/nologin is normally created by the shutdown command and is normally removed in the system startup script /etc/rc. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project