[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: [K12OSN] Dynamic Launcher



Oh, duh, I see now. I put a script into /etc/gdm/PostLogin/Default and create them there. Default is called just after gdm logs the user into the machine, but before it actually configures anything (I think). You can use something like:

ln -s $HOME/.TeacherShare/$USER/My\ Documents $DESKTOP/$USER\'s\ Documents

This is assuming that pam_mount has created a mount at $HOME/.TeacherShare and that you've defined DESKTOP as something like:

DESKTOP=$HOME/Desktop

And that DESKTOP actually exists, which it doesn't until after someone has already logged on to their desktop. SO I put this it in front of my link scripts to take care of brand new users:

if [ ! -d $DESKTOP ]; then
        mkdir $DESKTOP
fi

which is bash for if $DESKTOP doesn't exist then create it. I'm a total Linux and bash hack (actually I'm a hack in the most general sense of the term) so take it all with a grain of salt.

Regards,
Tom Wolfe

---
	Tom Wolfe, IT Specialist 	twolfe sawback com
	Stoney Educational Authority	tel: (403) 881-2650
	Box 238, Morley AB, T0L 1N0	fax: (403) 881-2793
Morley Community School | Chief Jacob Bearspaw School | Ta-otha School


On Wed, 3 Oct 2007, Kemp, Levi wrote:

Actually, that's how I came to this. I used pam_mount for the home
directories, and when I relialized the mount I had setup for a shared
drive was read only to everyone but root I followed advice from the list
and used pam_mount for it as well. So now when someone logs in they have
a G folder and an M folder under there home directory, just as they
would on a windows box. So even though they can access everything they
need I wanted to create a launcher for the apps so they wouldn't have to
go through so many folders to get to them. I may just copy the apps to
the K12LTSP server to keep from over complicating this though.

Levi Kemp
Technology Specialist
Bolivar R-I School District
417-328-8943
lnkemp bolivar k12 mo us



-----Original Message-----
From: Tom Wolfe [mailto:twolfe sawback com]
Sent: Tuesday, October 02, 2007 11:07 PM
To: Kemp, Levi
Subject: Re: [K12OSN] Dynamic Launcher

Hi Levi, are you asking about how to set up pam_mount? I'd
think that pam_mount would be the thing you would use...?

Regards,
Tom Wolfe

---
 	Tom Wolfe, IT Specialist 	twolfe sawback com
 	Stoney Educational Authority	tel: (403) 881-2650
 	Box 238, Morley AB, T0L 1N0	fax: (403) 881-2793
Morley Community School | Chief Jacob Bearspaw School | Ta-otha School


On Mon, 1 Oct 2007, Kemp, Levi 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 bolivar k12 mo us



-----Original Message-----
From: k12osn-bounces 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 bolivar k12 mo us



-----Original Message-----
From: k12osn-bounces 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 bolivar k12 mo us



-----Original Message-----
From: k12osn-bounces 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 bolivar k12 mo us



-----Original Message-----
From: k12osn-bounces 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 redhat com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
K12OSN redhat com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
--
Craig White <craig tobyhouse com>

_______________________________________________
K12OSN mailing list
K12OSN redhat com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]