Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!ihnp4!qantel!lll-lcc!pyramid!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.unix Subject: Re: unix system enhancements Message-ID: <7723@sun.uucp> Date: Mon, 29-Sep-86 14:34:03 EDT Article-I.D.: sun.7723 Posted: Mon Sep 29 14:34:03 1986 Date-Received: Wed, 1-Oct-86 02:12:57 EDT References: <4119@brl-smoke.ARPA> <702@hropus.UUCP> Organization: Sun Microsystems, Inc. Lines: 20 > > 2. Modify /etc/login so that it checks a file to determine if > > the user is allowed to login over that line or network connection > > or dial-up port at that time of the day. > > If you do 1. then you can add this to the system's .login to check > the users and lines. *And* to the system's .profile (i.e., "/etc/profile" if you have it), so that it also checks for Bourne and Korn shell users. Now you have something that works for Bourne, Korn, and C shell users. Your next mission, should you decide to accept it, is to make it work for all users whose login shell is a specific application; remember, those applications may not *have* the moral equivalent of "/etc/profile". Gee, it looks like you'll have to modify "/etc/login" after all.... -- Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.com (or guy@sun.arpa)