Tips and Tricks | Trucs et Astuces
Guest, Saturday 27 June 2015 à 21:45
|
|
|
Running on Ubuntu 14.04 / MATE / Marco window-manager :
I find everywhere how an individual user can customize his environment using GUI-based methods (click here, drag there, ...). But I need to have config files where I can tune via CLI (not GUI) the settings for all users.
For example: I want to limit the suite of applications that users can launch. I want to limit which of there personal settings they would be attempting to change (e.g. no proxy setting changes allowed, but password changes are allowed).
This is a single server, running multiple users.
many thanks in advance for any hints ! |
SQP, Sunday 28 June 2015 à 10:28
|
|
Subscription date : 03 July 2010
Messages : 1081
|
The dock has a locked mode, preventing any changes, for free access machines.
AFAIK, there's no way to allow an admin to choose a list of possible, or not, actions (nor will there be in a foreseeable future).
Such idea should be more easily doable when I'll have finished my launcher/GUI rewrite in go, but I doubt it ever reach the C version.
What can be done (in each user config subdir):
Edit the main config file from CLI with sed.
Prevent any user change in this file (chown root, chmod 600)
Let the user have write access on relevant applets config files. |
Subscription date : 06 July 2015
Messages : 2
|
The Java options global setting variable works great. It works both on my test machine As small drawback is that now all Java applications use this global setting even if you explicitly specify a different -Xmx startup parameter. |
Tips and Tricks | Trucs et Astuces
|