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

Re: [K12OSN] Basic Questions



Woot. I can be helpful.

You can create groups and provide permission on a group basis. I'm using
Ubuntu, which has adduser and addgroup tools. K12LTSP may, too. Check
for these by typing

man adduser

man addgroup

If they don't exist, you have to use useradd and groupadd, which are
slightly pickier.

To set the group of a program, use the chgrp command

chgrp teachers some-program

would put some-program in the teachers group. To give everyone in that
group permission to run it, use the chmod command

chmod g=xr some-program
chmod o-xrw some-program

The first command says that members of the program's (g)roup have
e(x)ecute and (r)ead permission. (The equal sign sets the permission.)
The second says all (o)ther users have no permissions. (The minus sign
takes away permission, and in addition to execute and read, makes sure
that other users cannot (w)rite over the program.)

Hope that helps,
Todd

On Wed, 2006-10-25 at 14:54 -0700, Derek Jaques wrote:
> Hello all,
> 
>    It has been great to have this forum as a source of reference for all 
> things K12LTSP.  Mostly been just listening for the last month or so.  I 
> am lucky enough to have Eric Harrison 15 miles from me, so he has been 
> an invaluable asset.  In about 6 hours of his time he has set up our 
> network, installed the software, streamlined our two new Dell servers 
> and made about 30 HP circa 1998 computer work as terminals, and shown 
> one total newbie the basics of how to run K12LTSP.  Just wanted to ask a 
> few very trivial questions.  (I am sure I will ask more over the course 
> of the next year) 
> 
> 1.  How do you allow permissions for specific programs per user.  (we 
> are using LDAP for authentication)  For example:  I would love to give 
> every teacher the ability to use the FLK teacher tool, but obviously not 
> students.
> 
> 2.  Is there a C compiler that comes stock with K12LTSP? 



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