It is doable but it will take some work. First create a unix group for teachers, and another for students.
Next find the actual files that load the programs you want to restrict. Say /usr/bin/evolution Change the group ownership of that file to teachers: chgrp teachers /usr/bin/evolution Remove execute permissions for all: chmod a-x /usr/bin/evolution Finally give execute permissions to owning group: chmod g+x /usr/bin/evolution Users in the teachers group can now run evolution, but nobody else can. Variations on the theme should give you most of what you need. Ciao A.J. Venter On Thursday 19 Jun 2003 5:08 pm, dongsheng wrote: > example: > > we have two groups of user, students and teacher. each > group includes several users. > > we want to make some resources such as applications > only available to members in teachers group, while some > other applications are available to members in students > group. It also means that students are not allowed to > access some files which only teathers can access. > > can sb help me for that? > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _____________________________________________________________________ > 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.freenode.net ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _____________________________________________________________________ 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.freenode.net
