time dep login

George Bron Faison Bron at cup.portal.com
Sun Jun 3 14:36:09 AEST 1990


9A couple of ideas you might puruse...
 
 Placing a program in passwd in place of /bin/sh
 to check the time and display a nice message (vs. just
 failing as some of the other suggestions imply)
 if your user is out of his time limits; or to invoke
 a login sh if he/she is within time bounds, etc.
 
 If you have more than one user to monitor, maybe something
 invoked by /etc/profile?
 
 If your user is "tied" to s specific port, an alternate
 getty with the appropriate code might suffice?
 (Or use inittab to "close" that port?)
 
 If YOU control the ".profile" for your users, you
 could do it there also (you can also handle this by having
 user log into a common directory for processing before
 being switched to their HOME directories).
 
 I'm sure there are lots of other ways, too.
 
 George "Bron" Faison
 Modern Office Systems Technology, Inc.
 (804) 730-1467 or Bron at cup.portal.com or
 6006-B Mechanicsville 'Pike, Mech. VA. 23111



More information about the Comp.unix.wizards mailing list