Great Circle Associates Majordomo-Users
(September 2003)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Adding users
From: Alvin Oga <alvin @ planet . fef . com>
Date: Thu, 11 Sep 2003 22:36:49 -0700 (PDT)
To: support @ klings . com
Cc: majordomo-users @ greatcircle . com
In-reply-to: <1490.12.222.115.101.1063339472.squirrel@shop.klings.com> from "Mike Horton" at Sep 11, 2003 11:04:32 PM


hi ya mike

> Mike Horton wrote:
> 
> I have Majordomo set up and working just fine. What I need to know though,
> is if anyone knows of an easy way to get about 150 linux users all
> subscribed to the list without entering them all by hand. Is there some
> way to get Majordomo to look at my password file and add all the users
> automatically.

make sure you and nobody is sending an outgoing email at the time


#
# take out things like root, bin, daemon and other system users
# 
cut -d: -f 1 /etc/passwd | egrep -iv "root|bin|adm|halt|news|mail...." > /tmp/list.of.users.txt

mv /tmp/list.of.users.txt /home/majordomo/Lists/mailingList

echo "testing MailingList" | elm -v -s "testing ml" MailingList

c ya
alvin


References:
Indexed By Date Previous: Adding users
From: "Mike Horton" <support@klings.com>
Next: Re: Accuse de reception
From: Mickael <mdily.ether@nerim.fr>
Indexed By Thread Previous: Adding users
From: "Mike Horton" <support@klings.com>
Next: Re: Adding users
From: Daniel Liston <dliston@sonny.org>

Google
 
Search Internet Search www.greatcircle.com