Path: utzoo!attcan!lsuc!canrem![stuart_irving@canrem.uucp] From: stuart_irving@canrem.uucp (stuart irving) Newsgroups: comp.unix.admin Subject: forcing actions at log Message-ID: <1991Jan9.1493.172@canrem.uucp> Date: 10 Jan 91 01:04:32 GMT Reply-To: "stuart irving" Organization: Canada Remote Systems Lines: 21 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