diff options
author | Norbert Preining <preining@logic.at> | 2016-03-31 00:38:03 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2016-03-31 00:38:03 +0000 |
commit | c21673e7294691054db42ff86a1543462aef584a (patch) | |
tree | 50904a974f51f0d31c1ff0e1fb33318db08c1bc9 /Master | |
parent | e85c764560050fdd9a82a646ac9bf24488de7902 (diff) |
add documentation for allowed-commands
git-svn-id: svn://tug.org/texlive/trunk@40189 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/tlmgr.pl | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index e55adf213bd..54f8e778daa 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -7559,13 +7559,17 @@ creates configuration files in user tree =head1 CONFIGURATION FILE FOR TLMGR -A small subset of the command line options can be set in a config file -for C<tlmgr> which resides in C<TEXMFCONFIG/tlmgr/config>. By default, the -config file is in C<~/.texliveYYYY/texmf-config/tlmgr/config> (replacing -C<YYYY> with the year of your TeX Live installation). This is I<not> -C<TEXMFSYSVAR>, so that the file is specific to a single user. +There are two configuration files for C<tlmgr>: One is system wide +in C<TEXMFSYSCONFIG/tlmgr/config>, and one user-specific in +C<TEXMFCONFIG/tlmgr/config> (which is in the default setup +C<~/.texliveYYYY/texmf-config/tlmgr/config> replacing +C<YYYY> with the year of your TeX Live installation). -In this file, empty lines and lines starting with # are ignored. All +A small subset of the command line options can be set in these +configuration file. In addition, the system-wide can contain a directive +to restrict the number of allowed actions. + +In these config files, empty lines and lines starting with # are ignored. All other lines must look like key = value @@ -7579,6 +7583,12 @@ the respective command line options of the same name. C<gui-expertmode> switches between the full GUI and a simplified GUI with only the important and mostly used settings. +In addition, the system-wide config file can contain the key +C<allowed-actions>. The value is a comma separated list of actions that +are allowed to be executed when C<tlmgr> is called in system mode (that is +without C<--usermode>). This allows distributors to include the C<tlmgr> +in the packaging but allow only for a very restricted set of actions not +to interfere with package managers. =head1 MULTIPLE REPOSITORIES |