From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lina.host4u.net ([216.71.64.105]) by speech.braille.uwo.ca with esmtp (Exim 3.35 #1 (Debian)) id 1A179l-0002Ml-00 for ; Sun, 21 Sep 2003 12:33:53 -0400 Received: from dalek (mail@washdc3-ar9-4-33-132-194.washdc3.dsl-verizon.net [4.33.132.194]) by lina.host4u.net (8.11.6/8.11.6) with ESMTP id h8LGXLS29947 for ; Sun, 21 Sep 2003 11:33:21 -0500 Received: from davros by dalek with local (Exim 3.36 #1 (Debian)) id 1A179D-00053C-00 for ; Sun, 21 Sep 2003 12:33:19 -0400 Date: Sun, 21 Sep 2003 12:33:19 -0400 From: Buddy Brannan To: speakup@braille.uwo.ca Subject: Re: Having a script executed for all users? Message-ID: <20030921163319.GB19281@dalek.ddts.net> References: <000401c3805b$f993d420$0100007f@carolina.rr.com> <000001c3805c$c6e5c780$fc54fea9@desktop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000001c3805c$c6e5c780$fc54fea9@desktop> User-Agent: Mutt/1.5.4i Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: speakup@braille.uwo.ca List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: Why do you want to execute them upon login? Really, those should be executed when you boot your machine and should therefore be put in your startup sequence somewhere...preferably wherever it is you initialize the rest of your Speakup stuff. I don't remember what distro you use, so this will vary. In Debian, you want a file called something like S99speakupinit (make the number lower to have it run earlier in the boot sequence). Call it whatever you like, but the capital s denotes that it run on startup. Put this in the run levels you want, i.e. /etc/rc2.d/S99speakupinit if you primrily use runlevel 2. There's a way to do this automagically, but I don't remember it...just make a file with the right sort of name with the commands you want in it and it'll run when you boot your machine. Putting those lines in your .profile would (assuming you had write permissions of course) run *every time* you logged in, which doesn't make a lot of sense for what you're wanting to do. -- Buddy Brannan, KB5ELV/3 | But I will lay my burden Email: davros@ycardz.com | in the cradle of your grace, ICQ: 36621210 | And the shining beaches of your love, http://www.ycardz.com | and the sea of your embrace.--Dave Carter