Custom /etc files per customer

Navigation:  CageFS > Configuration >

Custom /etc files per customer

Previous pageReturn to chapter overviewNext page

[4.0-5 and later]


To create custom file in /etc directory for end user, create a directory:



Put all custom files, and sub-directories into that direcotry.


For example, if you want to create custom /etc/hosts file for USER1, create a directory:


Inside that directory, create a file hosts, with the content for that user.


After that execute:


$ cagefsctl --update-etc USER1


If you are making changing for multiple users, you can run:


$ cagefsctl --update-etc


To remove custom file, remove it from /etc/cagefs/custom.etc/[USER] directory, and re-run:


$ cagefsctl --update-etc