Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!caip!brl-adm!brl-smoke!smoke!rbj@ICST-CMR.arpa From: rbj@ICST-CMR.arpa (Root Boy Jim) Newsgroups: net.unix-wizards Subject: Re: unix system enhancements Message-ID: <4391@brl-smoke.ARPA> Date: Mon, 6-Oct-86 18:01:26 EDT Article-I.D.: brl-smok.4391 Posted: Mon Oct 6 18:01:26 1986 Date-Received: Tue, 7-Oct-86 23:56:26 EDT Sender: news@brl-smoke.ARPA Lines: 41 > I am interested in enhancing my UNIX system to support the following, but > beofre I start to work I would like to know if anyone has already done > something similar: > > 1. Modify CSH so that it checks for the existence of a system wide > .cshrc and .login (obviously they could have different names) before > reading the users .cshrc and .login. This would allow the system > manager (me) to create a standard environment without having to write > each user a .login and .cshrc and still allow the user to modify his > or her environment if they choose. This should be easy enuf and I have no quarrel if done. One thing to watch out for: .cshrc is always executed when csh starts, while .login is only executed at login time. Do you want to implement both a pre-.cshrc and a pre-.login? If so, what will the sourcing order be? Would it be possible for the user's .cshrc to screw up the system version of .login? > 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. Given the first modification, why bother. Just have the system startup file run an authorization program. If this guy is uncool, kill the parent csh. Before liberally proposing modifications to programs, one should think of other ways to achieve the same effect. > 3. And lastly modify the tty driver to support "advising." This would > allow root to watch the characters sent to a terminal and have the > characters that he types inserted into that port's input characte > stream. Nontrivial. > Thanks, > geoff (Root Boy) Jim Cottrell Hmmm... a PINHEAD, during an EARTHQUAKE, encounters an ALL-MIDGET FIDDLE ORCHESTRA...ha..ha..