There are some people who will put this data, the ones who usually agree to all cookies. So even if you let users skip, with some dark patterns you can manage to influence a lot of people. Example: I set up local windows accounts for a couple of family members, yet somehow a week later or so they had online Microsoft accounts connected.
Sudo had many vulnerabilities in past some of them unpached for years and it is bloated with unnecessary functionality that increases the attack surface. Doas is more secure and minimalist for example. Not an expert to say if Ubuntu approach is correct but I appreciate their effort.