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:
Nomal User:
$ umask
0002
Root User
$ umask
0022
On RHEL/CentOS, these values are defined in /etc/bashrc and then in the individual ~/.bashrc files. How does Ubuntu handle this?