Miscellaneous small shell scripts that I may or may not need again in the far future.
#!/bin/bash for user in $(awk -F: '{print $1}' /etc/passwd); do printf "%-20s" "$user" ; su -s /bin/bash -c 'umask' -l $user 2>/dev/null done
Original source: https://unix.stackexchange.com/a/82645