Having a script executed for all users?
Darragh
lists at digitaldarragh.com
Sun Sep 21 12:36:26 EDT 2003
Thanks, I thought it didn't make much sence but heh it was a start.
I'm using Red hat 8.
-----Original Message-----
From: speakup-admin at braille.uwo.ca [mailto:speakup-admin at braille.uwo.ca]
On Behalf Of Buddy Brannan
Sent: 21 September 2003 17:33
To: speakup at braille.uwo.ca
Subject: Re: Having a script executed for all users?
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 at 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
_______________________________________________
Speakup mailing list
Speakup at braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup
More information about the Speakup
mailing list