At 10:12 AM 7/8/2005, SWAPNIL wrote:
I want to send one news to all users on my linux box.
I had created some aliases for perticular groups using aliases file like
group1: user1,user2,....
but now i want to send mail to all users except system users like ftp,
apache, root, daemon etc.
Typically all these system users have uid <= 100
awk -F: '$3 > 100 { print $1 }' /etc/passwd > /etc/mail/allusers
And in /etc/mail/aliases -
allusers: :include:/etc/mail/allusers
srs
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help