On Sat, Nov 21, 2009 at 09:31:53AM -0500, Harold Pritchett wrote: > Thanks for the ideas. Here's what I ended up with: > > USER=$(/usr/bin/id -un) > > if [ $USER != root ] ; then > echo This command must be run as root
I see no reason to run it as root: it should work with any user-account where the user's a member of the mailman/list &c group. > cat /tmp/found2-mailman And here I'd use less over cat. YMMV ;) a -- ``Cabbage-- the opinions of taxi drivers.'' (new definitions, from `I'm Sorry I Haven't a Clue') ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org