[Kde-kiosk] KDE URL Restrictions Containg Variables

Murray Trainer mtrainer at central-data.net
Tue Jun 7 03:56:07 CEST 2005


On Fri, 2005-06-03 at 15:08, Russell Brown wrote:
> Quoth Murray Trainer.....
> >I have another general question.  We have intend giving users access to
> >shared directory based on membership of an appropriate unix group.
> >Can we do something like:
> >
> >rule_3[e]=list,,,,file,,/shares/group1,$GROUP1_ACCESS
> >rule_4[e]=list,,,,file,,/shares/group2,$GROUP2_ACCESS
> >rule_5[e]=list,,,,file,,/shares/group3,$GROUP3_ACCESS
> 
> You could try using an external script/program to produce the allowable
> pathname. Then use a line like:
> 
> rule_3[$e]=list,,,,file,,$(/usr/local/bin/echo_group_shared_path),true
> 
> HtH

What about something like:

rule_3[$e]=list,,,,file,,/shares/group1,
$(/usr/local/bin/is_member_of_group group1)

where the script returns true/false.  I could then use the same script
for each group share.

Murray



More information about the kde-kiosk mailing list