Chown the pty device nodes back to root:tty.
This commit is contained in:
parent
6fc8f347cb
commit
3e03255dd1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=44726
3
etc/rc
3
etc/rc
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $Id: rc,v 1.179 1999/02/13 05:30:49 jkh Exp $
|
||||
# $Id: rc,v 1.180 1999/03/11 16:17:24 jfitz Exp $
|
||||
# From: @(#)rc 5.27 (Berkeley) 6/5/91
|
||||
|
||||
# System startup script run by init on autoboot
|
||||
@ -172,6 +172,7 @@ echo .
|
||||
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user