I made few modifications to few specific Ubuntu files for showing my own custom messages in place of Ubuntu specific messages. For this, I have made changes to following files:
/etc/update-motd.d/00-header
/etc/update-motd.d/10-help-text
/etc/legal
/etc/os-release
/etc/lsb-release
/etc/dpkg/origins/default
/etc/issue
/etc/issue.net
/proc/version
According to my research, there should not be any issue in modifying the /etc/update-motd.d/* files. However, I am not sure about rest of the files, especially /etc/legal file.
My question is that whether it is permissible to modify the above files? Is there any legal obligations which I need to respect? Any help will be highly appreciated :).
3
Different parts of Ubuntu are licensed under different conditions. But according to the Ubuntu licensing page, one condition for being included into Ubuntu is a free license which allows the end-user to make modifications.
However, when you redistribute your changed version to other people, you need to follow the license conditions of each component. This usually means that you must not change any copyright messages and license files.
2