Skip site navigation (1)Skip section navigation (2)
Date:      12 Mar 1999 19:14:56 +0100
From:      Dag-Erling Smorgrav <des@flood.ping.uio.no>
To:        hackers@freebsd.org
Subject:   Proposed patch to /etc/rc
Message-ID:  <xzp7lsmshgf.fsf@flood.ping.uio.no>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp7lsmshgf.fsf>