Date: Mon, 4 Nov 1996 12:08:14 -0800 (PST) From: John-Mark Gurney <jmg@nike.efn.org> To: FreeBSD-gnats@freefall.FreeBSD.org Subject: conf/1957: not all perms of pty back in shape after reboot Message-ID: <199611042008.MAA27344@nike.efn.org> Resent-Message-ID: <199611042020.MAA24524@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1957 >Category: conf >Synopsis: not all perms of ptys are put back into shape on boot >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Nov 4 12:20:01 PST 1996 >Last-Modified: >Originator: John-Mark Gurney >Organization: Cu Networking >Release: FreeBSD 2.2-960801-SNAP >Environment: n/a >Description: basicly if you use a bunch of pty's (over 128) the perms are not reset in /etc/rc on reboot... it only does the first 128... I have not had more than 128... but I was looking at the /etc/rc file and thought that was strange... diff is relative to current >How-To-Repeat: I guess pull the power on a machine with more than 128 users on.... >Fix: apply this patch: Index: rc =================================================================== RCS file: /usr/cvs/src/etc/rc,v retrieving revision 1.105 diff -c -r1.105 rc *** rc 1996/11/03 14:41:58 1.105 --- rc 1996/11/04 20:02:20 *************** *** 115,121 **** mount -a -t nfs >/dev/null 2>&1 # Whack the pty perms back into shape. ! chmod 666 /dev/tty[pqrs]* # clean up left-over files rm -f /etc/nologin --- 115,121 ---- mount -a -t nfs >/dev/null 2>&1 # Whack the pty perms back into shape. ! chmod 666 /dev/tty[pqrsPQRS]* # clean up left-over files rm -f /etc/nologin >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611042008.MAA27344>