unix system enhancements

Guy Harris guy at sun.uucp
Tue Sep 30 04:34:03 AEST 1986


> > 	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 at sun.com (or guy at sun.arpa)



More information about the Comp.unix mailing list