I am wondering how - or more exactly where - umask is defined on a stock Ubuntu server system.
I have reactivated the root account. Here's the respective default umask for root and normal users:
On RHEL/CentOS, these values are defined in /etc/bashrc and then in the individual ~/.bashrc files. How does Ubuntu handle this?