How do I add a logon shell script for group in ubuntu?
Posted on 2009-04-17
I am running an Ubuntu LTSP server with clients already set up. I have configured some users and added them to a group named "students".
My problem is that I want to run a shellscript when a user in the specified group logon to the system. I want to run the script for the whole group and not only the individual user.
I want this because I'm trying to lockdown the client users, for example users in the student group are only allowed to access their own /home-directory (and no access to other students home directories), use Firefox, play some games, view videos with VLC and use OpenOffice for school work.
I have tried "thin client manager", "LTSPManager", "GConf", manual commands like "sudo chmod 744 /usr/games" but none of them can accomplish what I want to do.
Maybe there is a "Kiosk Admin Tool" for ubuntu Gnome instead that can do this?
Please can someone help me with this? I'd be very grateful!