How would I guarantee not to run the 'startx' command if launched from an xterm? What should I put in the script?
~ Matthew -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Dave Ihnat Sent: Friday, October 11, 2002 8:30 PM To: [EMAIL PROTECTED] Subject: Re: Bash Shell login script On Fri, Oct 11, 2002 at 03:35:52PM -0700, Todd A. Jacobs wrote: > Use .bash_profile. If you use .bashrc instead, it will cause all sorts > of grief if the user opens any xterms. ... Well, not really--you just make sure that .bashrc is sufficiently paranoid about its environment that it doesn't run when it's from an xterm. Which is just a special case of the general one that all scripts should be as paranoid as possible. Cheers, -- Dave Ihnat [EMAIL PROTECTED] -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list