On Monday 09 February 2004 01:33 pm, Daniel Carrillo wrote: > El lun, 09-02-2004 a las 15:02, Dave Ihnat escribió: > > On Mon, Feb 09, 2004 at 02:56:25PM +0100, Daniel Carrillo wrote: > > > For every user: > > > > > > ~/.bashrc (login) > > > ~/.bash_logout (logout) > > > > Only problem with that is that those are under the control of the user. > > If you absolutely MUST make them run the script, don't put it there. > > No problem: > > su - > cd /home/user > chown root.root .bashrc > chmod 555 .bashrc Well, that is just plain rude, for the user. I would not be happy at all as a user if I cannot modify the .bashrc in my home directory. There are other beter ways to do this, as others have suggested. RDB -- Reuben D. Budiardja Department of Physics and Astronomy The University of Tennessee, Knoxville, TN --------------------------------------------------------- "To be a nemesis, you have to actively try to destroy something, don't you? Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." - Linus Torvalds - -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list