From owner-freebsd-hackers Fri Mar 12 10:15:21 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id CDB69152F7 for ; Fri, 12 Mar 1999 10:15:15 -0800 (PST) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.2/8.9.1) id TAA52426; Fri, 12 Mar 1999 19:14:57 +0100 (CET) (envelope-from des) To: hackers@freebsd.org Subject: Proposed patch to /etc/rc From: Dag-Erling Smorgrav Date: 12 Mar 1999 19:14:56 +0100 Message-ID: Lines: 23 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Does anybody have any objections to the attached patch? It fixes pty ownership at boot time so last doesn't show users as "still logged in" after a reboot. DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no Index: rc =================================================================== RCS file: /home/ncvs/src/etc/rc,v retrieving revision 1.180 diff -u -r1.180 rc --- rc 1999/03/11 16:17:24 1.180 +++ rc 1999/03/12 18:06:41 @@ -172,6 +172,7 @@ # Whack the pty perms back into shape. chmod 666 /dev/tty[pqrsPQRS]* +chown root.tty /dev/tty/[pqrsPQRS]* # clean up left-over files clean_var # If it hasn't already been done To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message