New upstream version 2.1.3
This commit is contained in:
32
conf/acls/README
Normal file
32
conf/acls/README
Normal file
@@ -0,0 +1,32 @@
|
||||
# nxacl.app v1.1 Copyleft by dimbor at unixforum.org <i@dimbor.ru>
|
||||
# Freenx parse ACL-files in NX_ACL_DIR and search user/group permissions
|
||||
# for given cmdstr. ACL filenames are usernames, groupnames and "all".
|
||||
# Permissions search order: user - group - all. ACL contain one or more
|
||||
# strings of regexp-patterns. See examples at existing ACL. Format:
|
||||
#
|
||||
# # some comment-string
|
||||
# [!]CmdTpl [%%% [[!][@@]OnceAppTpl] %%% Prog|"Msg"]
|
||||
#
|
||||
# ! - not equal == invert rule
|
||||
# %%% - fields delimiter
|
||||
# CmdTpl - startsession command template
|
||||
# OnceAppTpl - if it not found/found (""/"!") in process-list of user do'nt start session
|
||||
# @@ - search in process-list of all users (ps ax)
|
||||
# Prog - string for nxdialog or other x-binary to execute instead session-app
|
||||
# if "OnceAppTpl" condition is FALSE
|
||||
#
|
||||
# Attention!!! Spec-symbols (like ".","$","^") must be escaped twice vs once
|
||||
# ('\\.' vs '\.'), sorry.
|
||||
#
|
||||
# In acl file for any user0 may be addded special CmdTpl named '@shadow@'.
|
||||
# Format:
|
||||
#
|
||||
# @shadow@ %%% user1[,user2[,user3...]]
|
||||
#
|
||||
# It means that user0 have permissions to shadow connect to sessions running
|
||||
# of the users listed in the second field.
|
||||
#
|
||||
# user may be described as [#]user[!]
|
||||
# where '#' means view only mode, '!' - don't ask user for authorization
|
||||
#
|
||||
# In the list of users is also allowed keyword 'all'
|
||||
17
conf/acls/all
Normal file
17
conf/acls/all
Normal file
@@ -0,0 +1,17 @@
|
||||
# ACL for all users, that not mentioned in others ACLS
|
||||
|
||||
# Uncomment string below to set communism for them
|
||||
#.*
|
||||
|
||||
# Uncomment below to send them your original message only (bad example)
|
||||
#.* %%% !.* %%% "Get out, imbecile!"
|
||||
# the same
|
||||
#.* %%% %%% "Get out, imbecile!"
|
||||
|
||||
# Uncomment below to start very specialy app instead of given (good example ;)
|
||||
#.* %%% !.* %%% /usr/games/kpat
|
||||
|
||||
# Uncomment below if your'e contempt is limited to running standart
|
||||
# warning app. (WARN_APP from nxacl script.)
|
||||
# But this is a useless act, because it's installed by default. ;)
|
||||
#.* %%% !.*
|
||||
7
conf/acls/dim
Normal file
7
conf/acls/dim
Normal file
@@ -0,0 +1,7 @@
|
||||
# ACL for user named <filename>
|
||||
|
||||
# start KDE-session only once, else warn.
|
||||
startkde %%% !startkde %%% "You can have only one KDE-session!"
|
||||
|
||||
# start KDE-session only once, else start your script
|
||||
#startkde %%% !startkde %%% /usr/bin/super-puper-start-with-control KDE
|
||||
8
conf/acls/odmin
Normal file
8
conf/acls/odmin
Normal file
@@ -0,0 +1,8 @@
|
||||
# ACL for user named <filename>
|
||||
|
||||
# Admin is like a Got. Well, almost...
|
||||
.*
|
||||
|
||||
# Admin have permissions to shadow connect to sessions of all users
|
||||
# without authorization
|
||||
@shadow@ %%% all!
|
||||
8
conf/acls/sveta
Normal file
8
conf/acls/sveta
Normal file
@@ -0,0 +1,8 @@
|
||||
# ACL for user named <filename>
|
||||
|
||||
# could start app 1c.sh if "Alliance" present in own parameters
|
||||
1c8\\.sh.*Alliance
|
||||
|
||||
# user have permissions to shadow connect to sessions of dim and all users
|
||||
# to all except dim - in view mode only
|
||||
@shadow@ %%% dim,#all
|
||||
3
conf/acls/users
Normal file
3
conf/acls/users
Normal file
@@ -0,0 +1,3 @@
|
||||
# ACL for group named <filename>
|
||||
|
||||
1c8\\.sh %%% !1cv8 %%% "You can only run one 1C app at a time."
|
||||
Reference in New Issue
Block a user