@ -0,0 +1,7 @@
#!/bin/sh
hash run-parts >/dev/null 2>&1 && run-parts /etc/update-motd.d/ && exit
for f in /etc/update-motd.d/*; do
sh "$f"
done
The note is not visible to the blocked user.