The script is simply:

#!/bin/bash
/usr/bin/killall -9 mozilla-bin
/usr/bin/killall -9 java_vm
/usr/bin/mozilla


You can name it anything you like and save it anywhere you'd like, although system 
specific scripts are usually stored in /usr/local/bin


Change your user's descktop icons to point to your new script.


Pete
-- 
http://www.elbnet.com
ELB Internet Service, Inc.
Web Design, Computer Consulting, Internet Hosting



Stephen Liu wrote:
> 
> Hi Peter,
> 
> Thanks for your response.  Your advice noted
> 
> Kindly advise
> 
> 1) What shall be the content of this script, the execute file, which
> include starting Mozilla operation
> 2) Where shall I save this file.
> 
> Thanks in advance
> 
> Stephen
> 
> At 07:53 AM 9/26/2002 -0400, Peter Billson wrote:
> >Stephen,
> >   The script I mentioned is run by the user, not the admin. For example,
> >if you called the clean up script /usr/local/bin/cleanstart and you
> >currently provide a desktop icon that launches /usr/bin/mozzila you edit
> >that desktop icon so that it runs /usr/local/bin/cleanstart.
> >
> >   Each time a user clicks on the icon, it will run the script and will
> >kill any existing mozilla and java processes *for that user* and launch
> >a new browser.
> >
> >   When a regular user runs killall they only have permission to kill
> >their own processes so the killall will automatically kill just that
> >particular user's Mozilla.
> >
> >   You definitely *do not* want to run this script as root since root has
> >permission to kill *everyone's* mozilla session.
> >
> >
> >Stephen Liu wrote:
> > > The network administrator can't monitor all users throughout the day nor he
> > > would start Mozilla for each user himself.  It is possible to make a script
> > > so that the user on starting Mozilla the script will be evoked first before
> > > Mozilla started.
> >
> >--
> >http://www.elbnet.com
> >ELB Internet Services, Inc.
> >Web Design, Computer Consulting, Internet Hosting
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _____________________________________________________________________
> Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>       https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help,   try #ltsp channel on irc.openprojects.net


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.openprojects.net

Reply via email to