* /etc/update-motd.d snippets throw errors when a nomal user runs them.
* This prevents showing MOTD when the user is dropped to a regular user's shell in WSL.
[Test Case]
* Run update-motd's autopkgtest and observe update-notifier's scripts not throwing errors.
[Regression Potential]
* The fixes are fairly simple, but to ensure no breakage the scripts are also run as root.
[Impact]
* /etc/update-motd.d snippets throw errors when a nomal user runs them.
* This prevents showing MOTD when the user is dropped to a regular user's shell in WSL.
[Test Case]
* Run update-motd's autopkgtest and observe update-notifier's scripts not throwing errors.
[Regression Potential]
* The fixes are fairly simple, but to ensure no breakage the scripts are also run as root.