I don't know what tools you have available to you.
Does: awk -F":" ' {print $1} ' /etc/passwd
work for you? If so just store this info
in a variable, and iterate through the list
sending your messages | mail.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.