From owner-freebsd-current Sun Jan 17 10:14:29 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA10922 for freebsd-current-outgoing; Sun, 17 Jan 1999 10:14:29 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA10905 for ; Sun, 17 Jan 1999 10:14:27 -0800 (PST) (envelope-from dkelly@nospam.hiwaay.net) Received: from nospam.hiwaay.net (tnt4-170.HiWAAY.net [208.166.127.170]) by mail.HiWAAY.net (8.9.1a/8.9.0) with ESMTP id MAA30906; Sun, 17 Jan 1999 12:14:23 -0600 (CST) Received: from nospam.hiwaay.net (localhost [127.0.0.1]) by nospam.hiwaay.net (8.9.1/8.9.1) with ESMTP id JAA01243; Sun, 17 Jan 1999 09:11:08 -0600 (CST) (envelope-from dkelly@nospam.hiwaay.net) Message-Id: <199901171511.JAA01243@nospam.hiwaay.net> X-Mailer: exmh version 2.0.2 2/24/98 To: Ollivier Robert cc: freebsd-current@FreeBSD.ORG From: David Kelly Subject: nologin file (was: Re: Symbios 875 activity LED?) In-reply-to: Message from Ollivier Robert of "Sun, 17 Jan 1999 12:37:26 +0100." <19990117123726.A73895@keltia.freenix.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 17 Jan 1999 09:11:07 -0600 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Probably belongs in -current rather than -scsi. Ollivier Robert writes: > According to David Kelly: > > member of group "operator") that /etc/nologin was not being deleted. > > It has been moved recently to /var/run/nologin: Noticed that in shutdown.8 (keep trying to type "sendmail" here). I see /etc/login.conf has the default user set to honor :nologin=/var/run/nologin:\ Apparently updating my login.conf cured my nologin lockout problems due to the above line as: nospam: [1009] ls -l /etc/nologin -rw-r--r-- 1 root wheel 41 Jan 16 21:27 /etc/nologin nospam: [1010] ls -lu `which shutdown` -r-sr-x--- 1 root operator 149920 Jan 16 20:32 /sbin/shutdown* nospam: [1011] Now that's interesting. /etc/nologin is newer than shutdown was last used. Think that's because I've started using control-alt-delete of recent. What does control-alt-delete launch that would create the above nologin file as I need to update that too? But am still concerned whatever it is is not unlinking it before system halt. > -=-=- > asami 1999/01/11 01:07:42 PST > > Modified files: > etc login.conf rc > include paths.h > sbin/shutdown shutdown.8 > usr.bin/login login.1 > Log: > Move nologin from /etc to /var/run. This means one less file that has > to be written to /etc. > > The only essential change is in paths.h, so any third-party software > written correctly will pick it up in the next rebuild. > -=-=- Arrgh. Now I see it. My /usr/include/paths.h is from November 8. This accounts for shutdown. So what else creates /etc/nologin? Short of a new "make world" I need to update paths.h and build a new shutdown. But what else? And is there a way to extract the above commit message out of cvs? Do I need to cvsup something special other than src-all? Only recently subscribed to cvs-all (and -current) and wonder if that's the only place to get it? -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message