Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!cmcl2!uupsi!jpradley!jpr From: jpr@jpradley.jpr.com (Jean-Pierre Radley) Newsgroups: comp.unix.admin Subject: Re: Forcing actions at login Message-ID: <1991Jan05.212116.2157@jpradley.jpr.com> Date: 5 Jan 91 21:21:16 GMT References: <6153@ecs.soton.ac.uk> Reply-To: jpr@jpradley.UUCP (Jean-Pierre Radley) Organization: NYC Public Unix Lines: 15 In article <6153@ecs.soton.ac.uk> tjc@ecs.soton.ac.uk (Tim Chown) writes: >I would like to know the neatest way of forcing certain actions to >be taken when a user logs in to the system. For example, I would >like to ensure everyone sees the global message of the day, or >perhaps get reniced if they're not a priority user on machine X. > >Is the recommended way to simply put the name of a script in the >passwd file instead of /bin/csh (or whatever)? I can't see any >other alternative as the user has to own .login, but are there >any ill side-effects from this action? To my knowledge, /etc/cshrc is sourced by all occurences of csh. Jean-Pierre Radley NYC Public Unix jpr@jpr.com CIS: 72160,1341