[comp.unix.admin] forcing actions at log

stuart_irving@canrem.uucp (stuart irving) (01/10/91)

TC>I would like to know the neatest way of forcing certain actions to
TC>be taken when a user logs in to the system.  For example, I would

Does you version of unix source /etc/.login when a person logs in?
If this file exists then this is probably true.  This is where I place
commands such as what you need.  If this file is not there then there
probably is an equivalent file  under a different name.  an example of
displaying the message of the day may be:

if (-f /etc/motd) then
  clear
  cat /etc/motd
endif
...etc...

Stuart.irving@canremote.uucp
---
 ~ DeLuxe}ab #163 ~ make_me.sig
--
Canada Remote Systems.  Toronto, Ontario
NorthAmeriNet Host