how do you get something to run when a user logs on?

francois francois.barillon at free.fr
Thu Aug 28 21:07:01 BST 2008


Le jeudi 28 août 2008 à 08:03 -0700, john a écrit :
> I was wondering where I can put scripts that I want to run when a user
> logs on to a thin client. I used to put them in /etc/profile but that
> doesn't seem to work under Hardy. It seems like LDM is somehow
> by-passing the stuff I put there. Can someone help me out?

I think that the profile read by ltsp client comes from :
/opt/ltsp/i386/etc/profile

but as ltsp 5 uses a squashfs image, you have to run :

sudo ltsp-update-image

if any /opt/ltsp/ file is modified.

(I used this to change the UMASK to 022 to give read/write abilities to
users in the same group).

Hope this will help...

François




More information about the edubuntu-users mailing list