Selectively disable login at specified line?

Brandon S. Allbery allbery at ncoast.UUCP
Mon Oct 17 03:35:47 AEST 1988


As quoted from <489 at sactoh0.UUCP> by sjrudek at 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 at hal.cwru.edu
(LAST RESORT ONLY:  allbery at 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



More information about the Comp.unix.wizards mailing list