Path: utzoo!attcan!uunet!husc6!cmcl2!rutgers!tut.cis.ohio-state.edu!cwjcc!hal!ncoast!allbery From: allbery@ncoast.UUCP (Brandon S. Allbery) Newsgroups: comp.unix.wizards Subject: Re: Selectively disable login at specified line? Message-ID: <12833@ncoast.UUCP> Date: 16 Oct 88 17:35:47 GMT References: <1227@tuhold> <659@mtxinu.UUCP> <4216@polya.Stanford.EDU> <489@sactoh0.UUCP> Reply-To: allbery@ncoast.UUCP (Brandon S. Allbery) Followup-To: comp.unix.wizards Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 27 As quoted from <489@sactoh0.UUCP> by sjrudek@sactoh0.UUCP (Steve J. Rudek): +--------------- | > and /etc/.login a line to check the tty line against the users group, | Under System V.2 (microport, at least), /etc/.login doesn't appear | to be supported. (/etc/profile is, of course, but that is only | good if you force everyone to use sh as their login shell). Other | suggestions? I don't understand why the csh authors/porters didn't | support the idea of /etc/.login since they had the precedent of | /etc/profile. +--------------- It is a nonstandard extension to csh, so every company seems to have its own name for the system-wide csh startup file if they have added it. I have seen, in addition to /etc/.login, the following: /etc/cshprofile (Plexus) /etc/cshrc (Xenix) There may well be others. Try a "strings /bin/csh" (or wherever csh lives on your system). ++Brandon -- Brandon S Allbery uunet!hal.cwru.edu!ncoast!allbery allbery%ncoast@hal.cwru.edu (LAST RESORT ONLY: allbery@uunet.uu.net) DELPHI: ALLBERY comp.sources.misc is moving off ncoast -- please do NOT send submissions direct "So many articles, so little time...." -- The Line-Eater