From: CSBVAX::MRGATE!@KL.SRI.Com:info-vax-request@kl.sri.com@SMTP 25-AUG-1987 01:24 To: EVERHART Subj: Followup: Setting SYSPASSWORD on NVA terminals Received: from ucbvax.Berkeley.EDU by KL.SRI.COM with TCP; Mon 24 Aug 87 19:19:02-PDT Received: by ucbvax.Berkeley.EDU (5.58/1.27) id AA10830; Mon, 24 Aug 87 19:01:52 PDT Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-vax@kl.sri.com (info-vax@kl.sri.com) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 24 Aug 87 14:04:39 GMT From: clyde!watmath!utgpu!bwp@RUTGERS.EDU (Bruce Pinn) Organization: University of Toronto Computing Services Subject: Followup: Setting SYSPASSWORD on NVA terminals Message-Id: <1987Aug24.100439.3098@gpu.utcs.toronto.edu> Sender: info-vax-request@kl.sri.com To: info-vax@kl.sri.com This is a followup to my earlier query about how to turn the SYSPASSWORD attribute on for NV terminals. Several people mentioned setting this attribute on via the SYSGEN parameter TTY_DEFCHAR2. This turns the attribute on for all terminals which is not ok at my site since we have LT type terminals which we do not want SYSPASSWORD on for and there is no legitimate way to alter LT terminals before they are used. I do have a small program that will zap the SYSPWD bit on for the NV terminal template (NVA0) but I have found a solution that avoids using this kernel-mode hack. A "clean" solution involves using a slightly altered version of SYS$EXAMPLES:PSI_X29_DESTINATION.MAR. This program as distributed with PSI prompts for a password before LOGINOUT is run and clears the call if the password is not typed correctly. I chopped all this prompting and checking out of the program and simply turned on the SYSPWD bit by adding one new instruction after the BICL2 below the ACCEPT label: BISL #TT2$M_SYSPWD,TERM_CHAR+8 ; turn on SYSPASSWORD attribute This program, when run in the context of a process created via a DECnet object and the X29-server works like a charm. LOGINOUT is run by magic and the caller sees things exactly as though connected to a local terminal. Corot Reason, PROMIS Systems Corp, Toronto. (416) 364-5361x428