[K12OSN] Dynamic Launcher

Dan Young dyoung at mesd.k12.or.us
Mon Oct 1 23:11:59 UTC 2007


If you can wrap it in a shell script, $USER returns the current user.
"~" is the home directory of the current user, or $HOME.

-- 
Dan Young <dyoung at mesd.k12.or.us>
Multnomah ESD - Technology Services
503-257-1562


On 10/1/07, Kemp, Levi <lnkemp at bolivar.k12.mo.us> wrote:
> Hate to reply to myself, but I wanted to say that this is going to work. I way overcomplicated this. Of cource it leads me to a new question. How do I create a dynamic launcher? One dependent on the current user logged in. For example /home/BOLIVAR/User/M/math/Sketchpad/"GSP 4.06.exe" I'm going to google for it for a while, but if anyone already knows the answer I'd appreciate it. Sorry for the drama by the way, let myself personal frustrations leak out. Thanks again.
>
> Levi Kemp
> Technology Specialist
> Bolivar R-1 Schools
> 417-328-8943
> lnkemp at bolivar.k12.mo.us
>
>
>
> -----Original Message-----
> From: k12osn-bounces at redhat.com on behalf of Kemp, Levi
> Sent: Mon 10/1/2007 4:38 PM
> To: Support list for open source software in schools.
> Subject: RE: [K12OSN]
>
> So is it going to be best(or easiest) to have each user mount the network drive as they log in, just like there home directory? I don't know why I didn't think of doing this before, I would have to change the links to applications on that server but it seems like it would be the quickest solution.
>
> Levi Kemp
> Technology Specialist
> Bolivar R-1 Schools
> 417-328-8943
> lnkemp at bolivar.k12.mo.us
>
>
>
> -----Original Message-----
> From: k12osn-bounces at redhat.com on behalf of Craig White
> Sent: Mon 10/1/2007 3:33 PM
> To: Support list for open source software in schools.
> Subject: RE: [K12OSN]
>
> if Apps is mounted by root, then root owns the mount and all
> files/folders - that's something you can easily confirm from any
> workstation.
>
> On Mon, 2007-10-01 at 14:39 -0500, Kemp, Levi wrote:
> > Apps is mounted on M by root. And as far as security on the windows server all users have read/write access to the main apps folder, sub-folders vary by depending on use. Users are authenticated against a windows AD using winbind, that's the reason their home directories mount correctly. But would it be bad for the LTSP server to mount luke seperately for each user? If that would work, I'd just go that route.
> >
> >
> > Levi Kemp
> > Technology Specialist
> > Bolivar R-1 Schools
> > 417-328-8943
> > lnkemp at bolivar.k12.mo.us
> >
> >
> >
> > -----Original Message-----
> > From: k12osn-bounces at redhat.com on behalf of Craig White
> > Sent: Mon 10/1/2007 1:07 PM
> > To: Support list for open source software in schools.
> > Subject: RE: [K12OSN]
> >
> > If you look directly on the computer named //LUKE and the folder that is
> > shared as 'apps' - it would appear that a typical user doesn't have
> > write access. Windows 2000 Server (and Windows 2003 server also) have a
> > nice tool built-in to test user privileges...right click on a folder and
> > choose Properties => Security => Advanced => User then you can locate a
> > user and see his privileges on that folder.
> >
> > is //luke/apps mounted on /mnt/M by root? If so, then a user wouldn't
> > have write access
> >
> > how are ltsp users authenticated? By local /etc/passwd entry? by
> > winbindd from Windows Server?
> >
> > Craig
> >
> > On Mon, 2007-10-01 at 12:49 -0500, Kemp, Levi wrote:
> > > Here is my print out from mount:
> > >
> > > /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
> > > proc on /proc type proc (rw)
> > > sysfs on /sys type sysfs (rw)
> > > devpts on /dev/pts type devpts (rw,gid=5,mode=620)
> > > /dev/cciss/c0d0p1 on /boot type ext3 (rw)
> > > tmpfs on /dev/shm type tmpfs (rw)
> > > none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
> > > sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
> > > //luke/apps on /mnt/M type cifs (rw,mand)
> > > //luke/scholastic on /mnt/.Scholastic type cifs (rw,mand)
> > > //luke/schsuite on /mnt/.SMS_DATA type cifs (rw,mand)
> > > nfsd on /proc/fs/nfsd type nfsd (rw)
> > > //br2/vswartz$ on /home/BOLIVAR/vswartz/G type cifs (rw,mand)
> > > //br2/shall$ on /home/BOLIVAR/shall/G type cifs (rw,mand)
> > > //br2/dpeterson$_br1$ on /home/BOLIVAR/dpeterson/G type cifs (rw,mand)
> > > //br2/dshoemaker$_br1$ on /home/BOLIVAR/dshoemaker/G type cifs (rw,mand)
> > > //br2/lnkemp$ on /home/BOLIVAR/lnkemp/G type cifs (rw,mand)
> > >
> > > The folder in question is //luke/apps
> > > All the home folders, which also reside on a windows server(till I get a NAS), work fine if that is helpful knowledge.
> > >
> > > Levi Kemp
> > > Technology Specialist
> > > Bolivar R-1 Schools
> > > 417-328-8943
> > > lnkemp at bolivar.k12.mo.us
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: k12osn-bounces at redhat.com on behalf of Craig White
> > > Sent: Fri 9/28/2007 1:25 PM
> > > To: Support list for open source software in schools.
> > > Subject: Re: [K12OSN]
> > >
> > > On Fri, 2007-09-28 at 12:54 -0500, Kemp, Levi wrote:
> > > > Hello everyone,
> > > >   It's been too long since I've checked the list. I've had a lot
> > > > of "fun" working with our LTSP lab. I finally resolved my issue with
> > > > scholastic software. Even though I was able to get the older version
> > > > working in the lab, it came down to the fact that the database wasn't
> > > > stable. According to scholastic, "It is self-corrupting, two minutes
> > > > after running the maintenance you WILL have errors in it again." So we
> > > > upgraded to the new Enterprise Edition", which runs on a MySql database,
> > > > using a flash player as a browser on the client to access the apps on
> > > > the server. It uses Jboss as the appliation server. Funny how almost all
> > > > of the software used open source, good side though, wine opens the
> > > > executable to run any of the apps and uses native flash player, java,
> > > > adobe, etc. So there is one problem solved. Unfortunately I'm still
> > > > having a problem with a network drive that the school uses for both a
> > > > digital dropbox and a basic application server for apps like microtype
> > > > and geometer sketchpad. No on seems to have write access to the mounted
> > > > drive and that is the main problem. It seems like it shouldn't be a hard
> > > > thing to figure out, but I haven't had as much time to spend on it as I
> > > > need to. Where should I start looking to fix this aside from chmod,
> > > > because that doesn't seem to do it. If you need more info let me know,
> > > > I'm hoping to get it fixed by Monday, otherwise I may be forced into a
> > > > Microsoft Terminal setup, and that would kill me.
> > > ----
> > > spare us the drama
> > >
> > > is the mount read only? on a computer that doesn't have write access to
> > > the mounted drive, can you run the command...
> > >
> > > mount
> > >
> > > and report back to us?
> > >
> > > _______________________________________________
> > > K12OSN mailing list
> > > K12OSN at redhat.com
> > > https://www.redhat.com/mailman/listinfo/k12osn
> > > For more info see <http://www.k12os.org>
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN at redhat.com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
> --
> Craig White <craig at tobyhouse.com>
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
>
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
>




More information about the K12OSN mailing list