I am helping with the set up of a Linux-based Library kiosk thin client solution. We are using Chromium for the web browser, which is launched by a shell script with various command line options. There are a few different use cases e.g. one for accessing the Library catalogue and a few other sites, another for making study room bookings — so we'd want independent URL whitelists. Each use case has its own command line options. Currently all whitelist URLs are stored in the file /etc/chromium/policies/managed/policy.json. Ideally I'd like to separate these out i.e. be able to add a command line option like:


...so that each use case has its own white list. However, according to http://peter.sh/experiments/chromium-command-line-switches no such command line option exists.

Does anyone have any suggestions as to how might it be possible to make Chromium use a different policy file for each use case?


Two options come to mind:

  • Install chromium into separate chroot environments.
  • Put first use case file in place, fire up chrome, wait a few seconds for it to load; put second use case file in place ...Won't work; Chromium is watching the directory for changes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.