Hello dongsheng,

> But, as for restrict access to groups, I have a more complicated question:
 
> If I have 6 groups of user. The group names are: sec1, sec2, sec3, sec4, admin1, 
> admin2. Each group includes many 
> member users. 
 
> And I have 3 applications. say, 1. /usr/bin/evolution,  2. /usr/bin/mozilla 3. 
> /usr/bin/vim 
 
> I want applications /usr/bin/evolution   /usr/bin/mozilla/ to be available to all 
> member users in sec1, sec2, sec3, sec4; 
> and all above 3 applications available to member users in admin1, admin2 groups.  
 
> That is to say, that I want to give access of some application program to multiple 
> groups. How can we do this in 
> Linux/Unix? 

A user can be member of more than one group (to show which group you
are member of, use the "groups" command).
You could make all mozilla-allowed users additionally be members of
group "mozuser" etc.
Perhaps a script to migrate all users from one group *additionally* to
be in another group would be nice, but that's not too difficult.
You could inform yourself ybout the -G parameter of the useradd
command - which does exactly add the user to a second group (or
third...).

Best regards,
 Anselm Martin Hoffmeister
 Stockholm Projekt Computer-Service
 <[EMAIL PROTECTED]>



-------------------------------------------------------
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

Reply via email to